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

[Graal] compiler/codecache/stress/UnexpectedDeoptimizationTest.java crashed with SIGSEGV

    Details

    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        compiler/codecache/stress/UnexpectedDeoptimizationTest.java executed with Graal as JIT
        crashed with SIGSEGV

        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007f64928d61c7, pid=3697, tid=3722
        #
        # JRE version: Java(TM) SE Runtime Environment (11.0) (fastdebug build 11-internal+0-2018-02-28-2224130.ekaterina.pavlova.jdk.hs)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-internal+0-2018-02-28-2224130.ekaterina.pavlova.jdk.hs, mixed mode, tiered, jvmci, jvmci compiler, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xedc1c7] java_lang_Class::as_Klass(oop)+0xc7
        #

        --------------- T H R E A D ---------------

        Current thread (0x00007f648c3a3000): JavaThread "JVMCI CompilerThread1" daemon [_thread_in_vm, id=3722, stack(0x00007f6454549000,0x00007f645464a000)]


        Current CompileTask:
        JVMCI: 407097 45082 % ! 4 compiler.codecache.stress.Helper::callMethod @ 4 (64 bytes)

        Stack: [0x00007f6454549000,0x00007f645464a000], sp=0x00007f64546471b0, free space=1016k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xedc1c7] java_lang_Class::as_Klass(oop)+0xc7
        V [libjvm.so+0x1036eae] JVM_IsInterface+0x10e
        J 2632 java.lang.Class.isInterface()Z java.base@11-internal (0 bytes) @ 0x00007f646eb3768d [0x00007f646eb37560+0x000000000000012d]
        j jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.isInterface()Z+4 jdk.internal.vm.ci@11-internal

        ...

        Steps to run the test:
        > jtreg -vt -jdk:JDK_HS_fastdebug
        -vmoptions:-XX:MaxRAMPercentage=8 -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+TieredCompilation -XX:+UseJVMCICompiler -Djvmci.Compiler=graal
        compiler/codecache/stress/UnexpectedDeoptimizationTest.java


        The failure occurred only once in automatic testing.
        I tried to reproduce it but I was not able. Hopefully attached hs_err file will help.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  never Tom Rodriguez
                  Reporter:
                  epavlova Ekaterina Pavlova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: