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

TestCRC32 crashes in C2 compiled code on Sparc with -XX:-InlineNatives

    Details

    • Subcomponent:
    • CPU:
      sparc_64
    • OS:
      solaris

      Description

      compiler/intrinsics/zip/TestCRC32.java
      compiler/intrinsics/zip/TestCRC32C.java

      # SIGSEGV (0xb) at pc=0xffffffff69c11584, pid=3918, tid=18
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-2019-03-07-1222589.tobias.hartmann.jdkjdk)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-2019-03-07-1222589.tobias.hartmann.jdkjdk, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc)
      # Problematic frame:
      # J 183% c2 compiler.intrinsics.zip.TestCRC32.test_multi(I)V (948 bytes) @ 0xffffffff69c11584 [0xffffffff69c11400+0x0000000000000184]

      Stack: [0xffffffff52e00000,0xffffffff52f00000], sp=0xffffffff52efde60, free space=1015k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 183% c2 compiler.intrinsics.zip.TestCRC32.test_multi(I)V (948 bytes) @ 0xffffffff69c11584 [0xffffffff69c11400+0x0000000000000184]
      j compiler.intrinsics.zip.TestCRC32.main([Ljava/lang/String;)V+89
      v ~StubRoutines::call_stub
      V [libjvm.so+0x1777fa0] void JavaCalls::call_helper(JavaValue*,const methodHandle&,JavaCallArguments*,Thread*)+0x500
      V [libjvm.so+0x2048510] oop invoke(InstanceKlass*,const methodHandle&,Handle,bool,objArrayHandle,BasicType,objArrayHandle,bool,Thread*)+0x2340
      V [libjvm.so+0x2048d88] oop Reflection::invoke_method(oop,Handle,objArrayHandle,Thread*)+0x488
      V [libjvm.so+0x192b180] JVM_InvokeMethod+0x530
      C [libjava.so+0x12f18] Java_jdk_internal_reflect_NativeMethodAccessorImpl_invoke0+0x18
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+680271232 java.base@13-internal
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 java.base@13-internal
      j jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+100 java.base@13-internal
      j jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 java.base@13-internal
      j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+59 java.base@13-internal
      j com.sun.javatest.regtest.agent.MainWrapper$MainThread.run()V+172
      j java.lang.Thread.run()V+11 java.base@13-internal
      v ~StubRoutines::call_stub
      V [libjvm.so+0x1777fa0] void JavaCalls::call_helper(JavaValue*,const methodHandle&,JavaCallArguments*,Thread*)+0x500
      V [libjvm.so+0x17765b8] void JavaCalls::call_virtual(JavaValue*,Klass*,Symbol*,Symbol*,JavaCallArguments*,Thread*)+0x1b8
      V [libjvm.so+0x17766f8] void JavaCalls::call_virtual(JavaValue*,Handle,Klass*,Symbol*,Symbol*,Thread*)+0xb8
      V [libjvm.so+0x192089c] void thread_entry(JavaThread*,Thread*)+0x19c
      V [libjvm.so+0x2252330] void JavaThread::thread_main_inner()+0x240
      V [libjvm.so+0x224b8b8] void Thread::call_run()+0x178
      V [libjvm.so+0x1f1fa2c] thread_native_entry+0x3ac

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: