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

[lworld] ValueOops.java crashes with -XX:+DeoptimizeALot

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      # SIGSEGV (0xb) at pc=0x00007f405624df84, pid=28590, tid=28608
      #
      # JRE version: Java(TM) SE Runtime Environment (14.0) (fastdebug build 14-internal+0-adhoc.tobias.open)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 14-internal+0-adhoc.tobias.open, interpreted mode, z gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x188df84] void OopOopIterateDispatch<CollectOops>::Table::oop_oop_iterate<ValueArrayKlass, oop>(CollectOops*, oop, Klass*)+0x314

      Stack: [0x00007f3e17bed000,0x00007f3e17cee000], sp=0x00007f3e17cebc50, free space=1019k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x188df84] void OopOopIterateDispatch<CollectOops>::Table::oop_oop_iterate<ValueArrayKlass, oop>(CollectOops*, oop, Klass*)+0x314
      V [libjvm.so+0x188769f] void OopOopIterateDispatch<CollectOops>::Table::init<ValueArrayKlass>(CollectOops*, oop, Klass*)+0x5f
      V [libjvm.so+0x1881969] WB_getObjectsViaOopIterator+0x2b9
      j sun.hotspot.WhiteBox.getObjectsViaOopIterator0(Ljava/lang/Object;)[Ljava/lang/Object;+0
      j sun.hotspot.WhiteBox.getObjectsViaOopIterator(Ljava/lang/Object;)[Ljava/lang/Object;+7
      j runtime.valhalla.valuetypes.ValueOops.testOopMaps()V+299
      j runtime.valhalla.valuetypes.ValueOops.main([Ljava/lang/String;)V+26
      v ~StubRoutines::call_stub
      V [libjvm.so+0xdd258c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x73c
      V [libjvm.so+0x15428ce] invoke(InstanceKlass*, methodHandle const&, Handle, bool, objArrayHandle, BasicType, objArrayHandle, bool, Thread*) [clone .constprop.108]+0xc5e
      V [libjvm.so+0x1543a94] Reflection::invoke_method(oop, Handle, objArrayHandle, Thread*)+0x204
      V [libjvm.so+0xf5911a] JVM_InvokeMethod+0x33a
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 java.base
      j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base
      j com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V+172
      j java.lang.Thread.run()V+11 java.base
      v ~StubRoutines::call_stub
      V [libjvm.so+0xdd258c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x73c
      V [libjvm.so+0xdcc614] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, Thread*)+0x4d4
      V [libjvm.so+0xf35d1e] thread_entry(JavaThread*, Thread*)+0x12e
      V [libjvm.so+0x172f666] JavaThread::thread_main_inner()+0x206
      V [libjvm.so+0x1734a06] Thread::call_run()+0xf6
      V [libjvm.so+0x1432e26] thread_native_entry(Thread*)+0x116

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsimms David Simms
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: