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

C2: Receiver downcast is missing when inlining through method handle linkers

XMLWordPrintable

    • b30

        Seen in developer testing only (so far), and only with this one test.

        Current CompileTask:
        C2: 95948 4127 4 java.lang.invoke.LambdaForm$MH/0x00000001001af400::invoke (71 bytes)

        Stack: [0x00007f98cebfc000,0x00007f98cecfd000], sp=0x00007f98cecf8eb0, free space=1011k
        Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
        V [libjvm.so+0x15b1811] Parse::do_method_entry()+0x431
        V [libjvm.so+0x15baf14] Parse::Parse(JVMState*, ciMethod*, float)+0x9b4
        V [libjvm.so+0x820ce0] ParseGenerator::generate(JVMState*)+0x110
        V [libjvm.so+0xb50461] Parse::do_call()+0x371
        V [libjvm.so+0x15c71e8] Parse::do_one_bytecode()+0x428
        V [libjvm.so+0x15b53c8] Parse::do_one_block()+0x838
        V [libjvm.so+0x15b62f0] Parse::do_all_blocks()+0x130
        V [libjvm.so+0x15bb0f5] Parse::Parse(JVMState*, ciMethod*, float)+0xb95
        V [libjvm.so+0x820ce0] ParseGenerator::generate(JVMState*)+0x110
        V [libjvm.so+0xb50461] Parse::do_call()+0x371
        V [libjvm.so+0x15c71e8] Parse::do_one_bytecode()+0x428
        V [libjvm.so+0x15b53c8] Parse::do_one_block()+0x838
        V [libjvm.so+0x15b62f0] Parse::do_all_blocks()+0x130
        V [libjvm.so+0x15bb0f5] Parse::Parse(JVMState*, ciMethod*, float)+0xb95
        V [libjvm.so+0x820ce0] ParseGenerator::generate(JVMState*)+0x110
        V [libjvm.so+0xa02f62] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, bool, DirectiveSet*)+0x1342
        V [libjvm.so+0x81dd36] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x646
        V [libjvm.so+0xa135f9] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xd09
        V [libjvm.so+0xa14298] CompileBroker::compiler_thread_loop()+0x518
        V [libjvm.so+0x18896ec] JavaThread::thread_main_inner()+0x27c
        V [libjvm.so+0x188fca0] Thread::call_run()+0x100
        V [libjvm.so+0x156f5e4] thread_native_entry(Thread*)+0x104

              vlivanov Vladimir Ivanov
              dlong Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: