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
Wed Jan 18 15:22:39 UTC 2023


On Tue, 17 Jan 2023 18:12:51 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

> 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.

Thank you Thomas!

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

PR: https://git.openjdk.org/jdk/pull/12046


More information about the hotspot-gc-dev mailing list