Skip to content

Conversation

@tstuefe
Copy link
Member

@tstuefe tstuefe commented Nov 3, 2023

This is a JDK8 - only patch to fix failing TCK tests for javac on s390.

s390x, by default, needs a lot of stack space for C++ frames since the s390x ABI requires a 160-byte register save area per frame. That affects JDK 8 in particular since we run Zero, and the C++ interpreter builds up C-frames for Java frames; furthermore, it affects javac since it recurses a lot.

This causes several javac TCK tests to fail with SOE (stmt33002mxxx).

To pass TCK, the default stack size of javac should be increased for s390 on JDK 8.

Testing:

  • manually tested on s390 to see if the issue was resolved, which it was.
  • manually tested on x64 to check that nothing changed
  • GHAs

Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8319405 needs maintainer approval

Issue

  • JDK-8319405: [s390] [jdk8] Increase javac default stack size for s390x zero (Bug - P3 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/385/head:pull/385
$ git checkout pull/385

Update a local copy of the PR:
$ git checkout pull/385
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/385/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 385

View PR using the GUI difftool:
$ git pr show -t 385

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/385.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Nov 3, 2023

👋 Welcome back stuefe! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@tstuefe tstuefe force-pushed the JDK-8319405-s390-jdk8-Increase-javac-default-stack-size-for-s390x-zero branch from 6d05f43 to b1c697b Compare November 3, 2023 14:56
@tstuefe tstuefe marked this pull request as ready for review November 4, 2023 06:26
@openjdk openjdk bot added the rfr Pull request is ready for review label Nov 4, 2023
@mlbridge
Copy link

mlbridge bot commented Nov 4, 2023

Webrevs

@openjdk
Copy link

openjdk bot commented Nov 7, 2023

⚠️ @tstuefe This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@openjdk openjdk bot added the approval Requires approval; will be removed when approval is received label Nov 8, 2023
Copy link
Contributor

@jerboaa jerboaa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@jerboaa
Copy link
Contributor

jerboaa commented Nov 8, 2023

/approve

@openjdk
Copy link

openjdk bot commented Nov 8, 2023

@jerboaa usage: /approve [<id>] (yes|no)

@jerboaa
Copy link
Contributor

jerboaa commented Nov 8, 2023

/approve yes

@openjdk
Copy link

openjdk bot commented Nov 8, 2023

@jerboaa
8319405: The approval request has been approved.

@openjdk
Copy link

openjdk bot commented Nov 8, 2023

@tstuefe This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8319405: [s390] [jdk8] Increase javac default stack size for s390x zero

Reviewed-by: phh, sgehwolf

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 14 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

@openjdk openjdk bot added ready Pull request is ready to be integrated and removed approval Requires approval; will be removed when approval is received labels Nov 8, 2023
@tstuefe
Copy link
Member Author

tstuefe commented Nov 8, 2023

Thanks @jerboaa !

/integrate

@openjdk
Copy link

openjdk bot commented Nov 8, 2023

Going to push as commit dd43bdd.
Since your change was applied there have been 14 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Nov 8, 2023
@openjdk openjdk bot closed this Nov 8, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Nov 8, 2023
@openjdk
Copy link

openjdk bot commented Nov 8, 2023

@tstuefe Pushed as commit dd43bdd.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants