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

vmTestbase/vm/mlvm/meth/stress/compiler/deoptimize/Test.java fails with 'MemoryPool not found'

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      aarch64
    • OS:
      os_x

      Description

      Has been seen only in macosx-aarch64 so far. I tried linux, macosx with x64 and aarch64, in both release and debug configurations, only macosx-aarch64 showed the problem (approx. one out of 10 runs). The memory pool in question is 'Non-segmented code cache' (the test was started with '-XX:ReservedCodeCacheSize=100m -XX:+CreateCoredumpOnCrash -XX:TieredStopAtLevel=2').

      The stacktrace:

      # 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:94)
      # 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:833)

        Attachments

          Activity

            People

            Assignee:
            chagedorn Christian Hagedorn
            Reporter:
            enikitin Evgeny Nikitin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: