Skip to content

Conversation

fbredber
Copy link
Contributor

@fbredber fbredber commented Sep 23, 2025

This is a general cleanup after removing LockingMode related code.
It's a sub-task of JDK-8344261.
It includes:

  • Removing asserts that are no longer necessary, since we removed legacy locking and monitor locking.
  • Removing or rewriting comments, arguments or functions that are related to displaced headers.
  • Remove "always true" parameter from MonitorExitStub.
  • Re-type/name metadata in BasicLock.

Tier1-5 passes okay on supported platforms.

All other platforms (arm, ppc, riscv and s390) has been sanity checked using Qemu.


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-8365191: Cleanup after removing LockingMode related code (Sub-task - P4)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 27448

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Sep 23, 2025

👋 Welcome back fbredberg! 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
Copy link

openjdk bot commented Sep 23, 2025

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

8365191: Cleanup after removing LockingMode related code

Reviewed-by: coleenp, dholmes, yzheng, mdoerr, ayang, fyang, amitkumar

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 120 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
Copy link

openjdk bot commented Sep 23, 2025

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

  • graal
  • hotspot
  • serviceability

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.

@fbredber fbredber marked this pull request as ready for review September 23, 2025 12:12
@openjdk openjdk bot added the rfr Pull request is ready for review label Sep 23, 2025
@mlbridge
Copy link

mlbridge bot commented Sep 23, 2025

Webrevs

@fbredber
Copy link
Contributor Author

@bulasevich, @TheRealMDoerr, @RealFYang, @offamitkumar
I've run rudimentary tests using QEMU, but it would be nice if you guys (or any of your friends) could take it for a spin on real hardware. Thanks in advance.

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.

PPC64 and hotspot/share/c1 changes LGTM. Thanks for cleaning it up!

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Sep 23, 2025
Copy link
Contributor

@coleenp coleenp left a comment

Choose a reason for hiding this comment

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

This looks really good with a couple of minor comments.

Copy link
Member

@dholmes-ora dholmes-ora left a comment

Choose a reason for hiding this comment

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

LGTM2

Copy link
Member

@RealFYang RealFYang left a comment

Choose a reason for hiding this comment

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

@fbredber : Thanks for the ping. Tier1 test passes on linux-riscv64 platform.
The RISC-V part of the change seems fine modulo one minor nit.

Copy link
Member

@offamitkumar offamitkumar left a comment

Choose a reason for hiding this comment

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

s390x Part looks good. tier1 tests with fastdebug and release vm seems stable as well.

@openjdk openjdk bot removed the ready Pull request is ready to be integrated label Sep 24, 2025
Copy link
Contributor

@coleenp coleenp 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!

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Sep 24, 2025
Copy link
Contributor

@mur47x111 mur47x111 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@dholmes-ora dholmes-ora left a comment

Choose a reason for hiding this comment

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

Still good.

@fbredber
Copy link
Contributor Author

Thank you all for the reviews. Now let's...

/integrate

@openjdk
Copy link

openjdk bot commented Sep 25, 2025

Going to push as commit 847b107.
Since your change was applied there have been 122 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 Sep 25, 2025
@openjdk openjdk bot closed this Sep 25, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review labels Sep 25, 2025
@openjdk
Copy link

openjdk bot commented Sep 25, 2025

@fbredber Pushed as commit 847b107.

💡 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
Development

Successfully merging this pull request may close these issues.

8 participants