Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8355364 [REDO] Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding
  3. JDK-8355363

[BACKOUT] 8354668: Missing REX2 prefix accounting in ZGC barriers leads to incorrect encoding

XMLWordPrintable

    • b20

      After JDK-8354668, compiler/types/correctness/OffTest.java fails with -XX:+UseZGC

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/workspace/open/src/hotspot/share/code/compiledIC.cpp:408), pid=1765493, tid=1765496
      # Error: ShouldNotReachHere()
      #
      # JRE version: Java(TM) SE Runtime Environment (25.0+20) (fastdebug build 25-ea+20-LTS-2341)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 25-ea+20-LTS-2341, mixed mode, sharing, tiered, compressed class ptrs, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0xb26bbb] CompiledDirectCall::find_stub_for(unsigned char*)+0x4cb

      Stack: [0x00007f67ee469000,0x00007f67ee56a000], sp=0x00007f67ee565070, free space=1008k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0xb26bbb] CompiledDirectCall::find_stub_for(unsigned char*)+0x4cb (compiledIC.cpp:408)
      V [libjvm.so+0xb28248] CompiledDirectCall::verify()+0x48 (compiledIC_x86.cpp:123)
      V [libjvm.so+0x18d75dd] SharedRuntime::resolve_helper(bool, bool, JavaThread*)+0x58d (compiledIC.hpp:195)
      V [libjvm.so+0x18d80c4] SharedRuntime::resolve_opt_virtual_call_C(JavaThread*)+0x84 (sharedRuntime.cpp:1576)
      v ~RuntimeStub::Shared Runtime resolve_opt_virtual_call_blob 0x00007f67d3e7515b
      J 270 c2 compiler.types.correctness.scenarios.ReceiverAtInvokes.run(Lcompiler/types/correctness/hierarchies/TypeHierarchy$I;)Ljava/lang/Integer; (78 bytes) @ 0x00007f67d430eee0 [0x00007f67d430ee00+0x00000000000000e0]
      j compiler.types.correctness.scenarios.ReceiverAtInvokes.run(Lcompiler/types/correctness/hierarchies/TypeHierarchy$I;)Ljava/lang/Object;+2
      j compiler.types.correctness.execution.TypeConflict.methodNotToCompile(Lcompiler/types/correctness/scenarios/Scenario;Lcompiler/types/correctness/hierarchies/TypeHierarchy$I;)Ljava/lang/Object;+2
      J 298 c2 compiler.types.correctness.execution.TypeConflict.execute(Lcompiler/types/correctness/scenarios/Scenario;)V (131 bytes) @ 0x00007f67d4313424 [0x00007f67d4313380+0x00000000000000a4]
      j compiler.types.correctness.CorrectnessTest.executeTest(Lcompiler/types/correctness/hierarchies/TypeHierarchy;Lcompiler/types/correctness/execution/Execution;Lcompiler/types/correctness/scenarios/Scenario;)Z+35
      j compiler.types.correctness.CorrectnessTest.runTests(Lcompiler/types/correctness/scenarios/ProfilingType;)Z+432
      j compiler.types.correctness.CorrectnessTest.main([Ljava/lang/String;)V+42
      v ~StubRoutines::call_stub 0x00007f67d3d5ecfa

        1. hs_err_pid3569626.log
          166 kB
          Tobias Hartmann
        2. log.txt
          70 kB
          Tobias Hartmann
        3. log2.txt
          19 kB
          Tobias Hartmann
        4. hs_err_pid1098980.log
          275 kB
          Tobias Hartmann

            thartmann Tobias Hartmann
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: