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

nsk/jvmti/RedefineClasses/StressRedefineWithoutBytecodeCorruption fails with assert "MT-unsafe modification of inline cache"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 12
    • 12
    • hotspot

      >>>>>>>> Invoke RedefineClasses():
      new class byte count=2285
      <<<<<<<< RedefineClasses() is successf# To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=t:/workspace/open/src/hotspot/cpu/x86/compiledIC_x86.cpp:166
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (t:/workspace/open/src/hotspot/cpu/x86/compiledIC_x86.cpp:166), pid=28648, tid=14232
      # assert(data == 0 || data == (intptr_t)callee()) failed: a) MT-unsafe modification of inline cache
      #
      # JRE version: Java(TM) SE Runtime Environment (12.0) (fastdebug build 12-internal+0-jdk12-jdk.206)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 12-internal+0-jdk12-jdk.206, mixed mode, tiered, compressed oops, concurrent mark sweep gc, windows-amd64)
      # Core dump will be written. Default location: T:\\testoutput\\jtreg\\JTwork\\scratch\\2\\hs_err_pid28648.mdmp
      #
      # An error report file with more information is saved as:
      # T:\\testoutput\\jtreg\\JTwork\\scratch\\2\\hs_err_pid28648.log
      #
      # If you would like to submit a bug report, please visit:
      # http://bugreport.java.com/bugreport/crash.jsp
      #

      Current thread (0x00000047fecde800): JavaThread "Thread-19" [_thread_in_vm, id=14232, stack(0x00000047826a0000,0x00000047827a0000)]

      Stack: [0x00000047826a0000,0x00000047827a0000]
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [jvm.dll+0xba54b1] os::platform_print_native_stack+0xf1 (os_windows_x86.cpp:373)
      V [jvm.dll+0xdbdf4a] VMError::report+0xe6a (vmerror.cpp:696)
      V [jvm.dll+0xdbf86b] VMError::report_and_die+0x85b (vmerror.cpp:1448)
      V [jvm.dll+0xdbff94] VMError::report_and_die+0x64 (vmerror.cpp:1267)
      V [jvm.dll+0x5c201e] report_vm_error+0x7e (debug.cpp:233)
      V [jvm.dll+0x568af9] CompiledDirectStaticCall::set_to_interpreted+0x3b9 (compiledic_x86.cpp:165)
      V [jvm.dll+0x567493] CompiledIC::set_to_monomorphic+0x433 (compiledic.cpp:402)
      V [jvm.dll+0xc73ee4] SharedRuntime::resolve_sub_helper+0x904 (sharedruntime.cpp:1379)
      V [jvm.dll+0xc72e6d] SharedRuntime::resolve_helper+0x17d (sharedruntime.cpp:1242)
      V [jvm.dll+0xc7300f] SharedRuntime::resolve_opt_virtual_call_C+0x14f (sharedruntime.cpp:1513)
      C 0x00000047e3973e2c

      Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
      v ~RuntimeStub::resolve_opt_virtual_call
      J 2159% c2 nsk.jvmti.RedefineClasses.StressRedefine.runMethod(Ljava/util/Random;Ljava/lang/String;)V (106 bytes) @ 0x00000047eb5b8230 [0x00000047eb5b7720+0x0000000000000b10]
      j nsk.jvmti.RedefineClasses.StressRedefine$NonstaticMethodCaller.run()V+6
      j java.lang.Thread.run()V+11 java.base@12-internal
      v ~StubRoutines::call_stub

            thartmann Tobias Hartmann
            mikael Mikael Vidstedt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: