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

[lworld][c1] TestMethodHandles.java fails with -XX:+StressValueTypeReturnedAsFields

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x00007f734cda2ce3, pid=19800, tid=19801
      #
      # JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-internal+0-adhoc.iklam.open)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-internal+0-adhoc.iklam.open, mixed mode, tiered, g1 gc, linux-amd64)
      # Problematic frame:
      # J 201 c1 compiler.valhalla.valuetypes.TestMethodHandles.test11()J (13 bytes) @ 0x00007f734cda2ce3 [0x00007f734cda2ba0+0x0000000000000143]

      Current thread (0x00007f7364021800): JavaThread "main" [_thread_in_Java, id=19801, stack(0x00007f736dbae000,0x00007f736dcaf000)]

      Stack: [0x00007f736dbae000,0x00007f736dcaf000], sp=0x00007f736dcad530, free space=1021k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      J 201 c1 compiler.valhalla.valuetypes.TestMethodHandles.test11()J (13 bytes) @ 0x00007f734cda2ce3 [0x00007f734cda2ba0+0x0000000000000143]
      j compiler.valhalla.valuetypes.TestMethodHandles.test11_verifier(Z)V+9
      j jdk.internal.reflect.GeneratedMethodAccessor8.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+63
      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 compiler.valhalla.valuetypes.ValueTypeTest.run([Ljava/lang/Class;)V+318
      j compiler.valhalla.valuetypes.ValueTypeTest.run([Ljava/lang/String;[Ljava/lang/Class;)V+41
      j compiler.valhalla.valuetypes.TestMethodHandles.main([Ljava/lang/String;)V+54
      v ~StubRoutines::call_stub
      V [libjvm.so+0x12897d2] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, Thread*)+0x772
      V [libjvm.so+0x13587b5] jni_invoke_static(JNIEnv_*, JavaValue*, _jobject*, JNICallType, _jmethodID*, JNI_ArgumentPusher*, Thread*) [clone .isra.144] [clone .constprop.233]+0x275
      V [libjvm.so+0x137a2e1] jni_CallStaticVoidMethod+0x1f1
      C [libjli.so+0x581d] JavaMain+0xe4d
      C [libjli.so+0x91b9] ThreadJavaMain+0x9

        Attachments

          Activity

            People

            • Assignee:
              iklam Ioi Lam
              Reporter:
              iklam Ioi Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: