RFR: 8298596: vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java fails with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"
Coleen Phillimore
coleenp at openjdk.org
Tue Jan 17 18:23:39 UTC 2023
Moved the MethodHandle initialization out of the eatMemory function into the static initializer, so the eatMemory function doesn't get an unexpected OOM while loading the ThreadLocalRandom class.
This doesn't seem like it'll fix or make the chain007 failure go away.
Tested 100x with ZGC with and without debug.
-------------
Commit messages:
- 8298596: vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java fails with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"
Changes: https://git.openjdk.org/jdk/pull/12046/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12046&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8298596
Stats: 16 lines in 2 files changed: 12 ins; 3 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/12046.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/12046/head:pull/12046
PR: https://git.openjdk.org/jdk/pull/12046
More information about the hotspot-gc-dev
mailing list