RFR: 8257534: misc tests failed with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"

Coleen Phillimore coleenp at openjdk.java.net
Fri Oct 15 15:49:08 UTC 2021


Move the initialization and potential class loading of the MethodType out of eatMemory so that we don't get this OOME while loading this class.
Tested with tier5 and 7.

-------------

Commit messages:
 - 8257534: vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock03/TestDescription.java failed with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"

Changes: https://git.openjdk.java.net/jdk/pull/5969/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5969&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257534
  Stats: 12 lines in 1 file changed: 5 ins; 5 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5969.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5969/head:pull/5969

PR: https://git.openjdk.java.net/jdk/pull/5969



More information about the hotspot-gc-dev mailing list