-
Bug
-
Resolution: Duplicate
-
P4
-
17, 18, 19, 20, 21
-
aarch64
-
os_x
Test: vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id0
Product tested on: jdk-20.0.2+4
OS/architecture: failing in macosx-aarch64.
Reproducible: 69 times out of 500 with below VM args
Is it a Regression: No, it has occurred in previous GA build also.
Is it a platform-specific issue: failing in macosx-aarch64.
VM args: XX:+CreateCoredumpOnCrash -XX:+UseG1GC -Xmixed -XX:-TieredCompilation
Error:
### TRACE 1: RNG seed = 2157218471703099869 (0x1deffac544c639dd)
For random generator using seed: 2157218471703099869
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=2157218471703099869" to command line.
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
# ERROR: Caught exception in Thread[#38,Thread-16,5,MainThreadGroup]
# ERROR: java.lang.InternalError: Memory Pool not found
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage0(Native Method)
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage(MemoryPoolImpl.java:93)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$4(MHTransformationGen.java:118)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$5(MHTransformationGen.java:122)
# ERROR: at java.base/java.util.Optional.ifPresent(Optional.java:178)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.isCodeCacheEffectivelyFull(MHTransformationGen.java:122)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:157)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: at java.base/java.lang.Thread.run(Thread.java:1623)
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Caught exception in Thread[#38,Thread-16,5,MainThreadGroup] java.lang.InternalError: Memory Pool not found
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.share.Log.complain(Log.java:414)
at vm.mlvm.share.Env.complain(Env.java:172)
at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:78)
at java.base/java.lang.Thread.run(Thread.java:1623)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[#38,Thread-16,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Failed runs: 1 of 1
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at vm.mlvm.share.Env.complain(Env.java:164)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:408)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:327)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:244)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:186)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:157)
at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
at vm.mlvm.meth.stress.compiler.deoptimize.Test.main(Test.java:170)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
### TRACE 1: TEST FAILED
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: Caught exception in Thread[#38,Thread-16,5,MainThreadGroup]
# ERROR: java.lang.InternalError: Memory Pool not found
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage0(Native Method)
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage(MemoryPoolImpl.java:93)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$4(MHTransformationGen.java:118)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$5(MHTransformationGen.java:122)
# ERROR: at java.base/java.util.Optional.ifPresent(Optional.java:178)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.isCodeCacheEffectivelyFull(MHTransformationGen.java:122)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:157)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: at java.base/java.lang.Thread.run(Thread.java:1623)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[#38,Thread-16,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1
----------System.err:(0/0)----------
Product tested on: jdk-20.0.2+4
OS/architecture: failing in macosx-aarch64.
Reproducible: 69 times out of 500 with below VM args
Is it a Regression: No, it has occurred in previous GA build also.
Is it a platform-specific issue: failing in macosx-aarch64.
VM args: XX:+CreateCoredumpOnCrash -XX:+UseG1GC -Xmixed -XX:-TieredCompilation
Error:
### TRACE 1: RNG seed = 2157218471703099869 (0x1deffac544c639dd)
For random generator using seed: 2157218471703099869
To re-run test with same seed value please add "-Djdk.test.lib.random.seed=2157218471703099869" to command line.
#>
#> WARNING: switching log to verbose mode,
#> because error is complained
#>
# ERROR: Caught exception in Thread[#38,Thread-16,5,MainThreadGroup]
# ERROR: java.lang.InternalError: Memory Pool not found
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage0(Native Method)
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage(MemoryPoolImpl.java:93)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$4(MHTransformationGen.java:118)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$5(MHTransformationGen.java:122)
# ERROR: at java.base/java.util.Optional.ifPresent(Optional.java:178)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.isCodeCacheEffectivelyFull(MHTransformationGen.java:122)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:157)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: at java.base/java.lang.Thread.run(Thread.java:1623)
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Caught exception in Thread[#38,Thread-16,5,MainThreadGroup] java.lang.InternalError: Memory Pool not found
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at nsk.share.Log.complain(Log.java:414)
at vm.mlvm.share.Env.complain(Env.java:172)
at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:78)
at java.base/java.lang.Thread.run(Thread.java:1623)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[#38,Thread-16,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1
The following stacktrace is for failure analysis.
nsk.share.TestFailure: Failed runs: 1 of 1
at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:432)
at nsk.share.Log.complain(Log.java:403)
at vm.mlvm.share.Env.complain(Env.java:164)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:408)
at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:327)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:244)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:186)
at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:157)
at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
at vm.mlvm.meth.stress.compiler.deoptimize.Test.main(Test.java:170)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
at java.base/java.lang.Thread.run(Thread.java:1623)
### TRACE 1: TEST FAILED
#>
#> SUMMARY: Following errors occured
#> during test execution:
#>
# ERROR: Caught exception in Thread[#38,Thread-16,5,MainThreadGroup]
# ERROR: java.lang.InternalError: Memory Pool not found
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage0(Native Method)
# ERROR: at java.management/sun.management.MemoryPoolImpl.getUsage(MemoryPoolImpl.java:93)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$4(MHTransformationGen.java:118)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.lambda$isCodeCacheEffectivelyFull$5(MHTransformationGen.java:122)
# ERROR: at java.base/java.util.Optional.ifPresent(Optional.java:178)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen$CodeCacheMonitor.isCodeCacheEffectivelyFull(MHTransformationGen.java:122)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createSequence(MHTransformationGen.java:157)
# ERROR: at vm.mlvm.meth.share.MHTransformationGen.createAndCallSequence(MHTransformationGen.java:516)
# ERROR: at vm.mlvm.meth.stress.compiler.deoptimize.Test.runThread(Test.java:164)
# ERROR: at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:71)
# ERROR: at java.base/java.lang.Thread.run(Thread.java:1623)
# ERROR: Test marked failed at vm.mlvm.share.MultiThreadedTest.lambda$run$1(MultiThreadedTest.java:82):
# ERROR: Thread Thread[#38,Thread-16,5,MainThreadGroup] failed
# ERROR: Failed runs: 1 of 1
----------System.err:(0/0)----------
- duplicates
-
JDK-8269393 store/load order not preserved when handling memory pool due to weakly ordered memory architecture of aarch64
- Closed