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

[Graal] crash after deopt in TestG1BarrierGeneration.java

XMLWordPrintable

    • b22

      There are reproducible crashes of compiler/gcbarriers/TestG1BarrierGeneration.java with "-Xcomp -ea -esa -XX:CompileThreshold=100 -XX:+UnlockExperimentalVMOptions -server -XX:-TieredCompilation -XX:+DeoptimizeALot -XX:+UnlockExperimentalVMOptions -XX:+UseGraalJIT"

      Current thread (0x00007fdf6c02ce60): JavaThread "main" [_thread_in_Java, id=4132417, stack(0x00007fdf70eb4000,0x00007fdf70fb4000) (1024K)]

      Stack: [0x00007fdf70eb4000,0x00007fdf70fb4000], sp=0x00007fdf70face10, free space=995k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x8d5660] frame::sender_for_compiled_frame(RegisterMap*) const+0x260 (nativeInst_x86.hpp:626)
      V [libjvm.so+0x8d5fef] frame::sender(RegisterMap*) const+0x3df (frame_x86.inline.hpp:373)
      V [libjvm.so+0xbe2e09] Deoptimization::fetch_unroll_info_helper(JavaThread*, int)+0x1f9 (deoptimization.cpp:501)
      V [libjvm.so+0xbe45f0] Deoptimization::fetch_unroll_info(JavaThread*, int)+0x50 (deoptimization.cpp:298)
      v ~DeoptimizationBlob 0x00007fdf608e94e5

      I was unable to reproduce it locally but was able to narrow it down to build jdk-25+16-1791 which only contains

      [GR-63028] ClassCastException: StackSlot cannot be cast to RegisterValue for LOADCOMPRESSEDOBJECTCONSTANT

            gbarany Gergö Barany
            never Tom Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: