-
Bug
-
Resolution: Unresolved
-
P4
-
None
-
24
Bisection points to JDK-8211400 as the point where it started.
$ CONF=linux-aarch64-server-fastdebug make images test TEST=vmTestbase/gc/gctests/MemoryEaterMT/MemoryEaterMT.java TEST_VM_OPTS="-XX:+UseShenandoahGC"
...
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class jdk.test.lib.Utils
at nsk.share.gc.gp.GarbageUtils.eatMemory(GarbageUtils.java:256)
at nsk.share.gc.gp.GarbageUtils.eatMemory(GarbageUtils.java:196)
at nsk.share.gc.Algorithms.eatMemory(Algorithms.java:91)
at gc.gctests.MemoryEaterMT.MemoryEaterMT$Eater.run(MemoryEaterMT.java:48)
at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:119)
at java.base/java.lang.Thread.run(Thread.java:1576)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class jdk.test.lib.Utils
at nsk.share.test.LocalRandom$1.initialValue(LocalRandom.java:44)
at nsk.share.test.LocalRandom$1.initialValue(LocalRandom.java:39)
at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225)
at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194)
at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172)
at nsk.share.test.LocalRandom.nextInt(LocalRandom.java:288)
at nsk.share.test.LocalRandom.nextInt(LocalRandom.java:303)
at nsk.share.test.LocalRandom.nextByte(LocalRandom.java:74)
at nsk.share.test.LocalRandom.nextBytes(LocalRandom.java:97)
at nsk.share.gc.gp.array.ByteArrayProducer.create(ByteArrayProducer.java:37)
at nsk.share.gc.gp.array.ByteArrayProducer.create(ByteArrayProducer.java:34)
at nsk.share.gc.gp.GarbageUtils.eatMemoryImpl(GarbageUtils.java:293)
at nsk.share.gc.gp.GarbageUtils.eatMemory(GarbageUtils.java:252)
... 5 more
Caused by: java.lang.OutOfMemoryError: Java heap space
STDERR:
nsk.share.TestFailure: Test exit code: 97
at nsk.share.test.Tests$TestRunner.execute(Tests.java:94)
at nsk.share.test.Tests$TestRunner.run(Tests.java:100)
at nsk.share.gc.GC.runTest(GC.java:114)
at gc.gctests.MemoryEaterMT.MemoryEaterMT.main(MemoryEaterMT.java:57)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
$ CONF=linux-aarch64-server-fastdebug make images test TEST=vmTestbase/gc/gctests/MemoryEaterMT/MemoryEaterMT.java TEST_VM_OPTS="-XX:+UseShenandoahGC"
...
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class jdk.test.lib.Utils
at nsk.share.gc.gp.GarbageUtils.eatMemory(GarbageUtils.java:256)
at nsk.share.gc.gp.GarbageUtils.eatMemory(GarbageUtils.java:196)
at nsk.share.gc.Algorithms.eatMemory(Algorithms.java:91)
at gc.gctests.MemoryEaterMT.MemoryEaterMT$Eater.run(MemoryEaterMT.java:48)
at nsk.share.runner.ThreadsRunner$ManagedThread.run(ThreadsRunner.java:119)
at java.base/java.lang.Thread.run(Thread.java:1576)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class jdk.test.lib.Utils
at nsk.share.test.LocalRandom$1.initialValue(LocalRandom.java:44)
at nsk.share.test.LocalRandom$1.initialValue(LocalRandom.java:39)
at java.base/java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:225)
at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:194)
at java.base/java.lang.ThreadLocal.get(ThreadLocal.java:172)
at nsk.share.test.LocalRandom.nextInt(LocalRandom.java:288)
at nsk.share.test.LocalRandom.nextInt(LocalRandom.java:303)
at nsk.share.test.LocalRandom.nextByte(LocalRandom.java:74)
at nsk.share.test.LocalRandom.nextBytes(LocalRandom.java:97)
at nsk.share.gc.gp.array.ByteArrayProducer.create(ByteArrayProducer.java:37)
at nsk.share.gc.gp.array.ByteArrayProducer.create(ByteArrayProducer.java:34)
at nsk.share.gc.gp.GarbageUtils.eatMemoryImpl(GarbageUtils.java:293)
at nsk.share.gc.gp.GarbageUtils.eatMemory(GarbageUtils.java:252)
... 5 more
Caused by: java.lang.OutOfMemoryError: Java heap space
STDERR:
nsk.share.TestFailure: Test exit code: 97
at nsk.share.test.Tests$TestRunner.execute(Tests.java:94)
at nsk.share.test.Tests$TestRunner.run(Tests.java:100)
at nsk.share.gc.GC.runTest(GC.java:114)
at gc.gctests.MemoryEaterMT.MemoryEaterMT.main(MemoryEaterMT.java:57)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:573)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1576)
- relates to
-
JDK-8211400 nsk.share.gc.Memory::getArrayLength returns wrong value
- Resolved