RFR: 8336148: Test runtime/locking/TestRecursiveMonitorChurn.java failed: Unexpected Inflation
Axel Boldt-Christmas
aboldtch at openjdk.org
Mon Aug 12 14:47:01 UTC 2024
When writing the test I suspected that this might happen.
I wanted to see if we could get away without a fuzz factor on the post and pre inflation comparison.
I'll update the test with a fuzz factor that can handle that some spurious inflation from other sources can occur. Especially relevant now that class loading uses an ObjectLocker, which is why it occurred when instrumentation was added and not only with the -XX:+DeoptimizeALot flags.
Will run through the problematic tests and check that these help. All observed occurrences have been with a difference of one between pre and post inflation counts.
-------------
Commit messages:
- 8336148: Test runtime/locking/TestRecursiveMonitorChurn.java failed: Unexpected Inflation
Changes: https://git.openjdk.org/jdk/pull/20551/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20551&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8336148
Stats: 12 lines in 1 file changed: 12 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/20551.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20551/head:pull/20551
PR: https://git.openjdk.org/jdk/pull/20551
More information about the hotspot-runtime-dev
mailing list