Skip to content
This repository was archived by the owner on Apr 24, 2023. It is now read-only.

Conversation

@backwaterred
Copy link

@backwaterred backwaterred commented Dec 8, 2022

This small change adds an import to ppc.ad to allow it to find Contiuations::enabled, and sets VMContinuations to false on AIX.

Thanks to @TheRealMDoerr for suggestions to a previous version of this PR.


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

Issue

  • JDK-8298225: [AIX] Disable PPC64LE continuations on AIX

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk20 pull/4/head:pull/4
$ git checkout pull/4

Update a local copy of the PR:
$ git checkout pull/4
$ git pull https://git.openjdk.org/jdk20 pull/4/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 4

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk20/pull/4.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 8, 2022

👋 Welcome back tsteele! 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 8, 2022
@openjdk
Copy link

openjdk bot commented Dec 8, 2022

@backwaterred The following label will be automatically applied to this pull request:

  • hotspot-compiler

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the hotspot-compiler hotspot-compiler-dev@openjdk.org label Dec 8, 2022
@mlbridge
Copy link

mlbridge bot commented Dec 8, 2022

Webrevs

Copy link
Member

@reinrich reinrich left a comment

Choose a reason for hiding this comment

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

Looks reasonable.
Thanks, Richard.

@openjdk
Copy link

openjdk bot commented Dec 9, 2022

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

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

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

8298225: [AIX] Disable PPC64LE continuations on AIX

Reviewed-by: rrich, mdoerr

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 5 new commits pushed to the master branch:

  • b7b996c: 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed
  • 05d67f6: 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt
  • 5a92bee: 8298455: JFR: Add logging to TestClose.java
  • 133ad8e: 8297988: NPE in JavacTypes.getOverriddenMethods from doclint
  • 553ba65: 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64

Please see this link for an up-to-date comparison between the source branch of this pull request and 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 the ready Pull request is ready to be integrated label Dec 9, 2022
Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

Ok, switching it off for AIX makes sense for JDK 20. Do you know what's wrong on that OS? I believe there's not much missing. I recommend trying test/jdk/java/lang/Thread/virtual/stress tests and debugging it on linux PPC64 Big Endian. Maybe the frame header size is the problem which could cause GC to look at the wrong fields for example.
(But, you can integrate this fix and continue in JDK 21.)

@reinrich
Copy link
Member

reinrich commented Dec 9, 2022

My recommendation for tracking down issues would be test/jdk/jdk/internal/vm/Continuation/BasicExt.java with -Xlog:continuations=trace switched on.

@backwaterred
Copy link
Author

Thanks for the reviews!


My recommendation for tracking down issues would be test/jdk/jdk/internal/vm/Continuation/BasicExt.java with -Xlog:continuations=trace switched on.

and

Do you know what's wrong on that OS? I believe there's not much missing. I recommend trying test/jdk/java/lang/Thread/virtual/stress tests and debugging it on linux PPC64 Big Endian.

Thanks for the suggestions, I think they will help :-). I have been examining the failures, but not with continuations=trace, and on AIX rather than Linux/PPC64 big-endian. All in all, I am surprised at how well Richard's changes for PPC64-LE are working in a different ABI than they were implemented for. We'll see how much progress I can make before 19 Jan 🤞

@backwaterred
Copy link
Author

/integrate

@openjdk
Copy link

openjdk bot commented Dec 9, 2022

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

  • 52fffdd: 8298463: tools/javac/modules/EdgeCases.java fails on Windows after JDK-8297988
  • b7b996c: 8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed
  • 05d67f6: 8298340: java/net/httpclient/CancelRequestTest.java fails with AssertionError: Found some subscribers for testPostInterrupt
  • 5a92bee: 8298455: JFR: Add logging to TestClose.java
  • 133ad8e: 8297988: NPE in JavacTypes.getOverriddenMethods from doclint
  • 553ba65: 8298402: ProblemList javax/swing/JFileChooser/4847375/bug4847375.java on windows-x64

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Dec 9, 2022

@backwaterred Pushed as commit a894649.

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

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

Labels

hotspot-compiler hotspot-compiler-dev@openjdk.org integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

3 participants