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

[JVMCI] assert(fr().is_deoptimized_frame()) failed: frame must be scheduled for deoptimization

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 9
    • hotspot

    Description

      This assert happens in materializeVirtualObjects() method if you try to invalidate the frame.

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/home/ppunegov/Devel/jdk/graal-jvmci-9/hotspot/src/share/vm/runtime/vframe_hp.cpp:132), pid=16503, tid=0x0000000000004092
      # assert(fr().is_deoptimized_frame()) failed: frame must be scheduled for deoptimization
      #

      Current thread (0x00007f82fc2c4800): JavaThread "MainThread" [_thread_in_vm, id=16530, stack(0x00007f829400f000,0x00007f8294110000)]

      Stack: [0x00007f829400f000,0x00007f8294110000], sp=0x00007f829410c5a0, free space=1013k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x118e760] VMError::report_and_die()+0x160
      V [libjvm.so+0x816f1b] report_vm_error(char const*, int, char const*, char const*)+0x7b
      V [libjvm.so+0x117f3cf] compiledVFrame::update_local(BasicType, int, jvalue)+0x30f
      V [libjvm.so+0xbf5140] c2v_materializeVirtualObjects(JNIEnv_*, _jobject*, _jobject*, bool)+0x8e0
      j jdk.internal.jvmci.hotspot.CompilerToVMImpl.materializeVirtualObjects(Ljdk/internal/jvmci/hotspot/HotSpotStackFrameReference;Z)V+0
      j compiler.jvmci.MaterializeVirtualObjectTest.check(Ljava/lang/Object;I)V+60
      J 380 C2 compiler.jvmci.MaterializeVirtualObjectTest.testFrame(Ljava/lang/String;Ljava/lang/Integer;)V (92 bytes) @ 0x00007f82f0a2d7c8 [0x00007f82f0a2d780+0x48]
      j compiler.jvmci.MaterializeVirtualObjectTest.test(Z)V+93
      j compiler.jvmci.MaterializeVirtualObjectTest.main([Ljava/lang/String;)V+10

      Attachments

        Activity

          People

            gdub Gilles Duboscq
            ppunegov Pavel Punegov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: