Integrated: 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:40 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.
This pull request has now been integrated.
Changeset: c3242ee4
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c3242ee452c25b5038283c68e65541122a10df0d
Stats: 16 lines in 2 files changed: 12 ins; 3 del; 1 mod
8298596: vmTestbase/nsk/sysdict/vm/stress/chain/chain008/chain008.java fails with "NoClassDefFoundError: Could not initialize class java.util.concurrent.ThreadLocalRandom"
Reviewed-by: ayang, tschatzl
-------------
PR: https://git.openjdk.org/jdk/pull/12046
More information about the hotspot-gc-dev
mailing list