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

Various issues with new tests added by JDK-8316694

XMLWordPrintable

      There are various issues with the new tests added by JDK-8316694.

      Next new tests failed on all platforms when run with `-ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:-TieredCompilation` options:

      compiler/whitebox/DeoptimizeRelocatedNMethod.java
      compiler/whitebox/RelocateNMethod.java
      compiler/whitebox/StressNMethodRelocation.java

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/workspace/open/src/hotspot/share/code/codeCache.cpp:513), pid=2571768, tid=2571830
      # assert(heap != nullptr) failed: heap is null
      #
      # JRE version: Java(TM) SE Runtime Environment (26.0+19) (fastdebug build 26-ea+19-1899)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 26-ea+19-1899, mixed mode, sharing, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xb2ede9] CodeCache::allocate(unsigned int, CodeBlobType, bool, CodeBlobType)+0x359

      Current thread (0x00007f7d1c1f88f0): JavaThread "MainThread" [_thread_in_vm, id=2571830, stack(0x00007f7cff234000,0x00007f7cff334000) (1024K)]

      Stack: [0x00007f7cff234000,0x00007f7cff334000], sp=0x00007f7cff331d80, free space=1015k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb2ede9] CodeCache::allocate(unsigned int, CodeBlobType, bool, CodeBlobType)+0x359 (codeCache.cpp:513)
      V [libjvm.so+0x173c615] nmethod::relocate(CodeBlobType)+0xd5 (nmethod.cpp:1632)
      V [libjvm.so+0x1cca68a] WB_RelocateNMethodFromMethod+0x2ea (whitebox.cpp:1653)
      j jdk.test.whitebox.WhiteBox.relocateNMethodFromMethod0(Ljava/lang/reflect/Executable;I)V+0
      j jdk.test.whitebox.WhiteBox.relocateNMethodFromMethod(Ljava/lang/reflect/Executable;I)V+8
      j compiler.whitebox.DeoptimizeRelocatedNMethod.main([Ljava/lang/String;)V+50


      compiler/whitebox/StressNMethodRelocation.java times out (JDK-8369148)

      serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java fails with COH (JDK-8369150)

      serviceability/jvmti/NMethodRelocation/NMethodRelocationTest.java fails when run with different GC (JDK-8369151)

      compiler/whitebox/DeoptimizeRelocatedNMethod.java intermittently fails when run with "-Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -XX:TieredStopAtLevel=1":

      java.lang.RuntimeException: public static void compiler.whitebox.DeoptimizeRelocatedNMethod.function() must be compiled
      at compiler.whitebox.CompilerWhiteBoxTest.checkCompiled(CompilerWhiteBoxTest.java:280)
      at compiler.whitebox.DeoptimizeRelocatedNMethod.main(DeoptimizeRelocatedNMethod.java:115)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1474)

        There are no Sub-Tasks for this issue.

            crakoczy Chad Rakoczy
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: