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

[TESTBUG] ReturnBlobToWrongHeapTest.java fails with -XX:TieredStopAtLevel=1 on machines with many cores

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      aarch64
    • OS:
      linux

      Backports

        Description

        The following test failed on some AArch64 systems:
            compiler/codecache/stress/ReturnBlobToWrongHeapTest.java

        Reproduce:

        ./configure --with-debug-level=release
        make run-test TEST="compiler/codecache/stress/ReturnBlobToWrongHeapTest.java" JTREG="VM_OPTIONS=-XX:TieredStopAtLevel=1"

        Here's a snippet from the log file:

        ----------System.out:(14/1085)----------
        CompileCommand: dontinline compiler/codecache/stress/Helper$TestCase.method bool dontinline = true
        [0.046s][warning][codecache] CodeHeap 'non-profiled nmethods' is full. Compiler has been disabled.
        [0.046s][warning][codecache] Try increasing the code heap size using -XX:NonProfiledCodeHeapSize=
        CodeHeap 'non-profiled nmethods': size=8Kb used=7Kb max_used=7Kb free=0Kb
         bounds [0x0000ffff97b55000, 0x0000ffff97b57000, 0x0000ffff97b57000]
        CodeHeap 'non-nmethods': size=16376Kb used=941Kb max_used=941Kb free=15434Kb
         bounds [0x0000ffff96b57000, 0x0000ffff96dc7000, 0x0000ffff97b55000]
         total_blobs=269 nmethods=8 adapters=194
         compilation: disabled (not enough contiguous free space left)
                      stopped_count=1, restarted_count=0
         full_count=1
        Error occurred during initialization of boot layer
        java.lang.InternalError: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic
        Caused by: java.lang.NoSuchMethodException: no such method: java.lang.invoke.MethodHandle.linkToStatic(MemberName)Object/invokeStatic
        ----------System.err:(2/207)----------
        OpenJDK 64-Bit Server VM warning: CodeHeap 'non-profiled nmethods' is full. Compiler has been disabled.
        OpenJDK 64-Bit Server VM warning: Try increasing the code heap size using -XX:NonProfiledCodeHeapSize=

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                haosun Hao Sun
                Reporter:
                haosun Hao Sun
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: