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

C2: Unloaded signature class kills argument value

XMLWordPrintable

    • b22
    • Verified

        test/langtools/tools/javac/switchnull/SwitchNull.java fails -XX:+VerifyOops.

        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # Internal Error (/workspace/open/src/hotspot/cpu/aarch64/macroAssembler_aarch64.cpp:3013), pid=3731060, tid=3731082
        # fatal error: DEBUG MESSAGE: verify_oop: c_rarg4: broken oop r->as_Register() (/workspace/open/src/hotspot/share/c1/c1_LIRAssembler.cpp:846)
        #
        # JRE version: Java(TM) SE Runtime Environment (23.0+4) (fastdebug build 23-ea+4-147)
        # Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 23-ea+4-147, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
        # Problematic frame:
        # V [libjvm.so+0x1184484] MacroAssembler::debug64(char*, long, long*)+0x54


        Stack: [0x0000ffff5ca0c000,0x0000ffff5cc0a000], sp=0x0000ffff5cc07ce0, free space=2031k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x1184484] MacroAssembler::debug64(char*, long, long*)+0x54 (macroAssembler_aarch64.cpp:3013)
        v ~StubRoutines::verify_oop 0x0000ffff741a94a0
        j SwitchNull.run()V+267
        j SwitchNull.main([Ljava/lang/String;)V+9
        j java.lang.invoke.LambdaForm$DMH+0x00000000310c0000.invokeStatic(Ljava/lang/Object;Ljava/lang/Object;)V+10 java.base@23-ea
        j java.lang.invoke.LambdaForm$MH+0x0000000031145800.invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+33 java.base@23-ea
        j java.lang.invoke.Invokers$Holder.invokeExact_MT(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;+20 java.base@23-ea
        j jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+55 java.base@23-ea
        j jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+23 java.base@23-ea
        j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+102 java.base@23-ea
        j com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run()V+10
        j java.lang.Thread.runWith(Ljava/lang/Object;Ljava/lang/Runnable;)V+5 java.base@23-ea
        j java.lang.Thread.run()V+19 java.base@23-ea
        v ~StubRoutines::call_stub 0x0000ffff7415e1c0
        V [libjvm.so+0xd3eb4c] JavaCalls::call_helper(JavaValue*, methodHandle const&, JavaCallArguments*, JavaThread*)+0x43c (javaCalls.cpp:415)
        V [libjvm.so+0xd3f0ec] JavaCalls::call_virtual(JavaValue*, Klass*, Symbol*, Symbol*, JavaCallArguments*, JavaThread*)+0x29c (javaCalls.cpp:329)
        V [libjvm.so+0xd3f2ec] JavaCalls::call_virtual(JavaValue*, Handle, Klass*, Symbol*, Symbol*, JavaThread*)+0x6c (javaCalls.cpp:191)
        V [libjvm.so+0xe98300] thread_entry(JavaThread*, JavaThread*)+0xa0 (jvm.cpp:2937)
        V [libjvm.so+0xd72d6c] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:721)
        V [libjvm.so+0x15abd60] Thread::call_run()+0xac (thread.cpp:220)
        V [libjvm.so+0x131f0bc] thread_native_entry(Thread*)+0x12c (os_linux.cpp:789)
        C [libpthread.so.0+0x7928] start_thread+0x188

              vlivanov Vladimir Ivanov
              alanb Alan Bateman
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: