-
Notifications
You must be signed in to change notification settings - Fork 114
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
8330849: Add test to verify memory usage with recursive locking #747
Conversation
👋 Welcome back elifaslan1! A progress list of the required criteria for merging this PR into |
@elifaslan1 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:
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 36 new commits pushed to the
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. ➡️ To flag this PR as ready for integration with the above commit message, type |
This backport pull request has now been updated with issue from the original commit. |
|
/approval JDK-8330849 request Clean backport to add test to verify memory usage with recursive locking. GHA tested |
@elifaslan1 |
/integrate |
@elifaslan1 |
Hold on a sec, without JDK-8319796 in JDK 21, should the test actually fail in jdk21u-dev? |
I guess the test passes because LockingMode is 1 ("LM_LEGACY") by default in JDK 21. Does it fail with LockingMode = 2? I think it should. |
/sponsor |
Going to push as commit 153accc.
Your commit was automatically rebased without conflicts. |
@phohensee @elifaslan1 Pushed as commit 153accc. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
@phohensee @elifaslan1: This PR should not have been integrated. The test fails when running with the LockingMode it is written for because JDK-8319796 is not in 21u as pointed out by @shipilev above. |
I agree we should have talked a bit more about this. But honestly, we can keep the test since it works with the default locking modes. There is no breakage at this point, AFAICS. So we can still revert it at our leisure? Yes, there is a downside that we cannot run this test cleanly with |
Clean backport to add test to verify memory usage with recursive locking.
This pull request contains a backport of commit 7b2560b4 from the openjdk/jdk repository.
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/747/head:pull/747
$ git checkout pull/747
Update a local copy of the PR:
$ git checkout pull/747
$ git pull https://git.openjdk.org/jdk21u-dev.git pull/747/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 747
View PR using the GUI difftool:
$ git pr show -t 747
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/747.diff
Webrev
Link to Webrev Comment