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

java/lang/invoke/LFCaching/LFMultiThreadCachingTest.java crashes in monitor synchronization code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:

      Description

      In hs-comp nightly testing:

      # SIGSEGV (0xb) at pc=0xf69c1aa4, pid=21007, tid=0x000064a0
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0) (build 1.9.0-internal-fastdebug-20150825060115.tohartma.8075805-b00)
      # Java VM: Java HotSpot(TM) Server VM (1.9.0-internal-fastdebug-20150825060115.tohartma.8075805-b00, compiled mode, g1 gc, linux-x86)
      # Problematic frame:
      # V [libjvm.so+0xdedaa4] ObjectMonitor::EnterI(Thread*)+0x564

      V [libjvm.so+0xdedaa4] ObjectMonitor::EnterI(Thread*)+0x564
      V [libjvm.so+0xdee69d] ObjectMonitor::enter(Thread*)+0x52d
      V [libjvm.so+0x1002573] ObjectSynchronizer::fast_enter(Handle, BasicLock*, bool, Thread*)+0x1f3
      V [libjvm.so+0x9f1928] InterpreterRuntime::monitorenter(JavaThread*, BasicObjectLock*)+0x1d8
      j java.lang.invoke.BoundMethodHandle$SpeciesData.get(Ljava/lang/String;)Ljava/lang/invoke/BoundMethodHandle$SpeciesData;+18
      j java.lang.invoke.BoundMethodHandle$SpeciesData.extendWith(Ljava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/BoundMethodHandle$SpeciesData;+47
      j java.lang.invoke.LambdaFormEditor.newSpeciesData(Ljava/lang/invoke/LambdaForm$BasicType;)Ljava/lang/invoke/BoundMethodHandle$SpeciesData;+5
      j java.lang.invoke.LambdaFormEditor.bindArgumentForm(I)Ljava/lang/invoke/LambdaForm;+80
      j java.lang.invoke.LambdaFormEditor.bindArgumentF(Ljava/lang/invoke/BoundMethodHandle;IF)Ljava/lang/invoke/BoundMethodHandle;+44
      j java.lang.invoke.BoundMethodHandle.bindArgumentF(IF)Ljava/lang/invoke/BoundMethodHandle;+7
      j java.lang.invoke.MethodHandles.insertArgumentPrimitive(Ljava/lang/invoke/BoundMethodHandle;ILjava/lang/Class;Ljava/lang/Object;)Ljava/lang/invoke/BoundMethodHandle;+87
      j java.lang.invoke.MethodHandles.insertArguments(Ljava/lang/invoke/MethodHandle;I[Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle;+62
      j TestMethods$6.getMH(Ljava/util/Map;LTestMethods$Kind;)Ljava/lang/invoke/MethodHandle;+71
      J 76249 C2 TestMethods.getTestCaseMH(Ljava/util/Map;LTestMethods$Kind;)Ljava/lang/invoke/MethodHandle; (92 bytes) @ 0xf2b1f17c [0xf2b1f120+0x5c]
      J 81930 C2 LFMultiThreadCachingTest.lambda$doTest$0(Ljava/util/concurrent/CyclicBarrier;Ljava/util/concurrent/ConcurrentLinkedQueue;Ljava/util/Map;LTestMethods$Kind;Ljava/util/Map;Ljava/util/concurrent/CountDownLatch;)V (62 bytes) @ 0xf47881ec [0xf4788180+0x6c]
      J 81929 C2 LFMultiThreadCachingTest$$Lambda$34.run()V (32 bytes) @ 0xf2add604 [0xf2add5a0+0x64]
      J 1050 C2 java.lang.Thread.run()V (17 bytes) @ 0xf2b78928 [0xf2b78900+0x28]
      v ~StubRoutines::call_stub
      V [libjvm.so+0xa15b8e] JavaCalls::call_helper(JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x205e
      V [libjvm.so+0xe17ce4] os::os_exception_wrapper(void (*)(JavaValue*, methodHandle*, JavaCallArguments*, Thread*), JavaValue*, methodHandle*, JavaCallArguments*, Thread*)+0x24
      V [libjvm.so+0xa108ee] JavaCalls::call_virtual(JavaValue*, KlassHandle, Symbol*, Symbol*, JavaCallArguments*, Thread*)+0x67e
      V [libjvm.so+0xa1121d] JavaCalls::call_virtual(JavaValue*, Handle, KlassHandle, Symbol*, Symbol*, Thread*)+0x9d
      V [libjvm.so+0xafe474] thread_entry(JavaThread*, Thread*)+0xc4
      V [libjvm.so+0x1054a82] JavaThread::thread_main_inner()+0x202
      V [libjvm.so+0x1054dd6] JavaThread::run()+0x2e6
      V [libjvm.so+0xe0f3f0] java_start(Thread*)+0xe0
      C [libpthread.so.0+0x6f12] start_thread+0xd2
      C [libc.so.6+0xeaebe] clone+0x5e

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dcubed Daniel Daugherty
              Reporter:
              roland Roland Westrelin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: