[jdk21u-dev] RFR: 8330849: Add test to verify memory usage with recursive locking
Martin Doerr
mdoerr at openjdk.org
Wed Jun 26 20:24:19 UTC 2024
On Tue, 18 Jun 2024 18:06:22 GMT, Elif Aslan <duke at openjdk.org> wrote:
> Clean backport to add test to verify memory usage with recursive locking.
> This pull request contains a backport of commit [7b2560b4](https://github.com/openjdk/jdk/commit/7b2560b4904d80629d3f4f25c65d9b96eee9bdb6) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
@phohensee @elifaslan1: This PR should not have been integrated. The test fails when running with the LockingMode it is written for because [JDK-8319796](https://bugs.openjdk.org/browse/JDK-8319796) is not in 21u as pointed out by @shipilev above.
`make run-test TEST="test/hotspot/jtreg/runtime/locking/TestRecursiveMonitorChurn.java" JTREG="VM_OPTIONS=-XX:+UnlockExperimentalVMOptions -XX:LockingMode=2"` runs into `RuntimeException: Allocated too many monitors`.
-------------
PR Comment: https://git.openjdk.org/jdk21u-dev/pull/747#issuecomment-2192559476
More information about the jdk-updates-dev
mailing list