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

C2: Stale control info after cast node elimination during loop optimization pass

    XMLWordPrintable

Details

    • b173

    Backports

      Description

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # SIGSEGV (0xb) at pc=0x00007f1b0f24b58e, pid=21016, tid=21300
        #
        # JRE version: Java(TM) SE Runtime Environment (9.0+167) (build 9-ea+167)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (9-ea+167, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
        # Problematic frame:
        # V [libjvm.so+0xa2058e] PhaseIdealLoop::build_loop_late_post(Node*)+0x13e
        #

        From jdk/test/java/util/concurrent/tck/JSR166TestCase.java

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

        Current thread (0x00007f1b082de000): JavaThread "C2 CompilerThread8" daemon [_thread_in_native, id=21300, stack(0x00007f1a108f1000,0x00007f1a109f2000)]


        Current CompileTask:
        C2: 10142 2842 4 Collection8Test::lambda$adderRemover$48 (41 bytes)

        Stack: [0x00007f1a108f1000,0x00007f1a109f2000], sp=0x00007f1a109ece80, free space=1007k
        Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0xa2058e] PhaseIdealLoop::build_loop_late_post(Node*)+0x13e
        V [libjvm.so+0xa20953] PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0x133
        V [libjvm.so+0xa231a2] PhaseIdealLoop::build_and_optimize(bool, bool)+0x7c2
        V [libjvm.so+0x6065ee] Compile::Optimize()+0x98e
        V [libjvm.so+0x607e27] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1027
        V [libjvm.so+0x532632] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x1d2
        V [libjvm.so+0x60fe5c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x41c
        V [libjvm.so+0x610ce3] CompileBroker::compiler_thread_loop()+0x273
        V [libjvm.so+0xcea848] JavaThread::thread_main_inner()+0xd8
        V [libjvm.so+0xb69a32] thread_native_entry(Thread*)+0xf2
        C [libpthread.so.0+0x7aa1]

        Attachments

          Issue Links

            Activity

              People

                vlivanov Vladimir Ivanov
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: