Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8278411: Implement UseHeavyMonitors consistently, s390 port #13978

Closed

Conversation

offamitkumar
Copy link
Member

@offamitkumar offamitkumar commented May 15, 2023

This PR make s390x to adapt the changes done in JDK-8276901 OR implements UseHeavyMonitors.

JDK-8291555 still needs Porting effort. As for LM_LIGHTWEIGHT locking mode, code is Unimplemented.


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-8278411: Implement UseHeavyMonitors consistently, s390 port

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 13978

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13978.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented May 15, 2023

👋 Welcome back amitkumar! 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 changed the title 8278411 8278411: Implement UseHeavyMonitors consistently, s390 port May 15, 2023
@openjdk openjdk bot added the rfr Pull request is ready for review label May 15, 2023
@openjdk
Copy link

openjdk bot commented May 15, 2023

@offamitkumar The following labels will be automatically applied to this pull request:

  • core-libs
  • hotspot

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

@openjdk openjdk bot added hotspot hotspot-dev@openjdk.org core-libs core-libs-dev@openjdk.org labels May 15, 2023
@mlbridge
Copy link

mlbridge bot commented May 15, 2023

Webrevs

@offamitkumar
Copy link
Member Author

/label remove core-libs, hotspot

/label add hotspot-compiler, hotspot-runtime

@openjdk openjdk bot removed core-libs core-libs-dev@openjdk.org hotspot hotspot-dev@openjdk.org labels May 15, 2023
@openjdk
Copy link

openjdk bot commented May 15, 2023

@offamitkumar
The core-libs label was successfully removed.

The hotspot label was successfully removed.

@openjdk openjdk bot added hotspot-compiler hotspot-compiler-dev@openjdk.org hotspot-runtime hotspot-runtime-dev@openjdk.org labels May 15, 2023
@openjdk
Copy link

openjdk bot commented May 15, 2023

@offamitkumar
The hotspot-compiler label was successfully added.

The hotspot-runtime label was successfully added.

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.

Please check my findings.

z_bre(done);
} else {
// Set NE to indicate 'failure' -> take slow-path
z_ltgr(oop, oop);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think z_bru(done); is missing, here.

Copy link
Member Author

Choose a reason for hiding this comment

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

Please check updated version.

z_bru(done); // Csg sets CR as desired.
} else {
// Set NE to indicate 'failure' -> take slow-path
z_ltgr(oop, oop);
Copy link
Contributor

Choose a reason for hiding this comment

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

Same, here.

Copy link
Member

@tstuefe tstuefe left a comment

Choose a reason for hiding this comment

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

LGTM

@openjdk
Copy link

openjdk bot commented May 16, 2023

@offamitkumar 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:

8278411: Implement UseHeavyMonitors consistently, s390 port

Reviewed-by: mdoerr, stuefe, lucy

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

  • 316bc79: 8308188: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC on all platforms
  • 8686a36: 8307315: Missing ResourceMark in CDS and JVMTI code
  • 23cbb2d: 8306860: Avoid unnecessary allocation in List.map() when list is empty
  • be54b54: 8307369: Add execution of all svc tests in CI
  • 19c8c30: 8305634: Renaming predicates, simple cleanups, and adding summary about current predicates
  • 72294c5: 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
  • c9b6bb5: 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
  • 0790f70: 8306806: JMX agent with JDP enabled won't start when PerfData is disabled
  • c2ef302: 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
  • d22bcc8: 8307403: java/util/zip/DeInflate.java timed out
  • ... and 13 more: https://git.openjdk.org/jdk/compare/8d49ba9e8d3095f850b3007b56488a0c0cf8ddff...master

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.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@TheRealMDoerr, @tstuefe, @RealLucy) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label May 16, 2023
@offamitkumar
Copy link
Member Author

Thanks @tstuefe for Review.

@RealLucy would you like to review it as well.

Copy link
Contributor

@RealLucy RealLucy left a comment

Choose a reason for hiding this comment

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

LGTM.

@offamitkumar
Copy link
Member Author

Thank you @RealLucy for reviewing it.

@TheRealMDoerr would you like to take another look before we proceed with integration 🙂

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.

Thanks for the update!

@offamitkumar
Copy link
Member Author

Thanks for reviews,

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label May 16, 2023
@openjdk
Copy link

openjdk bot commented May 16, 2023

@offamitkumar
Your change (at version c06afdb) is now ready to be sponsored by a Committer.

@TheRealMDoerr
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented May 16, 2023

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

  • 316bc79: 8308188: ProblemList java/util/concurrent/locks/Lock/OOMEInAQS.java with ZGC on all platforms
  • 8686a36: 8307315: Missing ResourceMark in CDS and JVMTI code
  • 23cbb2d: 8306860: Avoid unnecessary allocation in List.map() when list is empty
  • be54b54: 8307369: Add execution of all svc tests in CI
  • 19c8c30: 8305634: Renaming predicates, simple cleanups, and adding summary about current predicates
  • 72294c5: 8308024: HttpClient (HTTP/1.1) sends an extraneous empty chunk if the BodyPublisher supplies an empty buffer
  • c9b6bb5: 8308041: [JVMCI] WB_IsGCSupportedByJVMCICompiler must enter correct JVMCI env
  • 0790f70: 8306806: JMX agent with JDP enabled won't start when PerfData is disabled
  • c2ef302: 8307968: serviceability/jvmti/vthread/StopThreadTest/StopThreadTest.java timed out
  • d22bcc8: 8307403: java/util/zip/DeInflate.java timed out
  • ... and 13 more: https://git.openjdk.org/jdk/compare/8d49ba9e8d3095f850b3007b56488a0c0cf8ddff...master

Your commit was automatically rebased without conflicts.

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

openjdk bot commented May 16, 2023

@TheRealMDoerr @offamitkumar Pushed as commit 41ee125.

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

@offamitkumar offamitkumar deleted the HeavyLightMonitor_8278411 branch May 24, 2023 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-compiler hotspot-compiler-dev@openjdk.org hotspot-runtime hotspot-runtime-dev@openjdk.org integrated Pull request has been integrated
4 participants