Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8308343

vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java#id0 fails with Memory Pool not found

XMLWordPrintable

    • 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)----------

            thartmann Tobias Hartmann
            aharadigopal Adithya Haradi Gopal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: