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

[lworld] CircularityTest triggers fatal error: "get_default_value_oop from non inline type klass"

    XMLWordPrintable

    Details

      Description

      Executing runtime/valhalla/inlinetypes/CircularityTest.java with "-XX:-UseCompressedOops -XX:-UseCompressedClassPointers -Xmx128m" triggered the following crash:

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S13769/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/64ee5779-57e5-4c8c-9768-35dcf9c0635f/runs/3e4ac563-9953-4fb5-8dee-00266c5d34cd/workspace/open/src/hotspot/cpu/x86/macroAssembler_x86.cpp:869), pid=32447, tid=32465
      # fatal error: DEBUG MESSAGE: get_default_value_oop from non inline type klass
      #
      # JRE version: Java(TM) SE Runtime Environment (18.0) (fastdebug build 18-lworld3ea+0-2021-09-09-0851425.tobias.hartmann.valhalla2)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 18-lworld3ea+0-2021-09-09-0851425.tobias.hartmann.valhalla2, interpreted mode, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x13cfb85] MacroAssembler::debug64(char*, long, long*)+0x45
      #
      # Core dump will be written. Default location: Core dumps may be processed with "/opt/core.sh %p" (or dumping to /opt/mach5/mesos/work_dir/slaves/ff806ead-2cac-495d-9cbc-62116f99bf14-S14022/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ffff75d0-68b0-4863-a781-f4909a0d657f/runs/3f06201c-f764-4370-8753-68fe170c377d/testoutput/test-support/jtreg_open_test_hotspot_jtreg_hotspot_valhalla/scratch/1/core.32447)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp

      Stack: [0x00007f36ec5f4000,0x00007f36ec6f5000], sp=0x00007f36ec6f2470, free space=1017k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x13cfb85] MacroAssembler::debug64(char*, long, long*)+0x45
      j runtime.valhalla.inlinetypes.CircularityTest$B.<clinit>()V+0
      v ~StubRoutines::call_stub
      V [libjvm.so+0xef8573] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x4d3
      V [libjvm.so+0xeaca55] InstanceKlass::call_class_initializer(JavaThread*)+0x1e5
      V [libjvm.so+0xeb2b47] InstanceKlass::initialize_impl(JavaThread*)+0xf57
      V [libjvm.so+0xeb236c] InstanceKlass::initialize_impl(JavaThread*)+0x77c
      V [libjvm.so+0x1315e7f] LinkResolver::resolve_static_call(CallInfo&, LinkInfo const&, bool, JavaThread*)+0xcf
      V [libjvm.so+0x131ba2b] LinkResolver::resolve_invoke(CallInfo&, Handle, constantPoolHandle const&, int, Bytecodes::Code, JavaThread*)+0x19b
      V [libjvm.so+0xee7448] InterpreterRuntime::resolve_invoke(JavaThread*, Bytecodes::Code)+0x248
      V [libjvm.so+0xee81a0] InterpreterRuntime::resolve_from_cache(JavaThread*, Bytecodes::Code)+0x80
      j runtime.valhalla.inlinetypes.CircularityTest.main([Ljava/lang/String;)V+2
      v ~StubRoutines::call_stub
      V [libjvm.so+0xef8573] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x4d3
      V [libjvm.so+0x17404eb] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, JavaThread*) [clone .constprop.0]+0xd6b
      V [libjvm.so+0x17419e5] Reflection::invoke_method(oop, Handle, objArrayHandle, JavaThread*)+0x255
      V [libjvm.so+0x1086d4c] JVM_InvokeMethod+0x24c
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@18-lworld3ea
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+133 java.base@18-lworld3ea
      j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@18-lworld3ea
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@18-lworld3ea
      j com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V+172
      j java.lang.Thread.run()V+11 java.base@18-lworld3ea
      v ~StubRoutines::call_stub
      V [libjvm.so+0xef8573] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x4d3
      V [libjvm.so+0xef9394] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x4b4
      V [libjvm.so+0xef97e7] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x77
      V [libjvm.so+0x1072c5b] thread_entry(JavaThread*, JavaThread*)+0x12b
      V [libjvm.so+0x1966c2c] JavaThread::thread_main_inner()+0x27c
      V [libjvm.so+0x196d250] Thread::call_run()+0x100
      V [libjvm.so+0x161e114] thread_native_entry(Thread*)+0x104

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: