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

Mismatched field loads are folded in LoadNode::Value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8, 8u212, 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b131
    • Verification:
      Verified

      Description

      Current thread (0x0000007f80189000): JavaThread "C2 CompilerThread2" daemon [_thread_in_native, id=6458, stack(0x0000007f50ced000,0x0000007f50ded000)]


      Current CompileTask:
      C2: 4778 671 4 java.lang.invoke.LambdaForm$BMH/1460779888::reinvoke (34 bytes)

      Stack: [0x0000007f50ced000,0x0000007f50ded000], sp=0x0000007f50de7250, free space=1000k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1093710] VMError::report(outputStream*, bool)+0x1780
      V [libjvm.so+0x1093d64] VMError::report_and_die(int, char const*, char const*, std::__va_list, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x140
      V [libjvm.so+0x109496c] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, std::__va_list)+0x54
      V [libjvm.so+0x6b7234] report_vm_error(char const*, int, char const*, char const*, ...)+0xe0
      V [libjvm.so+0x102f1c8] Type::make_constant_from_field(ciField*, ciInstance*, BasicType, bool)+0x3e8
      V [libjvm.so+0xcd7868] LoadNode::Value(PhaseGVN*) const+0x8a8
      V [libjvm.so+0xe546e8] PhaseGVN::transform_no_reclaim(Node*)+0x140
      V [libjvm.so+0x8ad700] GraphKit::make_load(Node*, Node*, Type const*, BasicType, int, MemNode::MemOrd, LoadNode::ControlDependency, bool, bool, bool)+0xd4
      V [libjvm.so+0xbdd5dc] LibraryCallKit::inline_unsafe_access(bool, BasicType, LibraryCallKit::AccessKind, bool)+0x940
      V [libjvm.so+0xbf3858] LibraryIntrinsic::generate(JVMState*)+0x94
      V [libjvm.so+0x745f58] Parse::do_call()+0x388
      V [libjvm.so+0xe2732c] Parse::do_one_bytecode()+0x2ee0
      V [libjvm.so+0xe1a5b8] Parse::do_one_block()+0x440
      V [libjvm.so+0xe1a958] Parse::do_all_blocks()+0x108
      V [libjvm.so+0xe1d6ac] Parse::Parse(JVMState*, ciMethod*, float)+0xac4
      V [libjvm.so+0x4a8c30] ParseGenerator::generate(JVMState*)+0xc0
      V [libjvm.so+0x745f58] Parse::do_call()+0x388
      V [libjvm.so+0xe2732c] Parse::do_one_bytecode()+0x2ee0
      V [libjvm.so+0xe1a5b8] Parse::do_one_block()+0x440
      V [libjvm.so+0xe1a958] Parse::do_all_blocks()+0x108
      V [libjvm.so+0xe1d6ac] Parse::Parse(JVMState*, ciMethod*, float)+0xac4
      V [libjvm.so+0x4a8c30] ParseGenerator::generate(JVMState*)+0xc0
      V [libjvm.so+0x745f58] Parse::do_call()+0x388
      V [libjvm.so+0xe2732c] Parse::do_one_bytecode()+0x2ee0
      V [libjvm.so+0xe1a5b8] Parse::do_one_block()+0x440
      V [libjvm.so+0xe1a958] Parse::do_all_blocks()+0x108
      V [libjvm.so+0xe1d6ac] Parse::Parse(JVMState*, ciMethod*, float)+0xac4
      V [libjvm.so+0x4a8c30] ParseGenerator::generate(JVMState*)+0xc0
      V [libjvm.so+0x745f58] Parse::do_call()+0x388
      V [libjvm.so+0xe2732c] Parse::do_one_bytecode()+0x2ee0
      V [libjvm.so+0xe1a5b8] Parse::do_one_block()+0x440
      V [libjvm.so+0xe1a958] Parse::do_all_blocks()+0x108
      V [libjvm.so+0xe1d6ac] Parse::Parse(JVMState*, ciMethod*, float)+0xac4
      V [libjvm.so+0x4a8c30] ParseGenerator::generate(JVMState*)+0xc0
      V [libjvm.so+0x745f58] Parse::do_call()+0x388
      V [libjvm.so+0xe2732c] Parse::do_one_bytecode()+0x2ee0
      V [libjvm.so+0xe1a5b8] Parse::do_one_block()+0x440
      V [libjvm.so+0xe1a958] Parse::do_all_blocks()+0x108
      V [libjvm.so+0xe1d6ac] Parse::Parse(JVMState*, ciMethod*, float)+0xac4
      V [libjvm.so+0x4a8c30] ParseGenerator::generate(JVMState*)+0xc0
      V [libjvm.so+0x633a98] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xb38
      V [libjvm.so+0x4a745c] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x150
      V [libjvm.so+0x63ecd0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x314
      V [libjvm.so+0x63f83c] CompileBroker::compiler_thread_loop()+0x2c8
      V [libjvm.so+0x100f6ec] JavaThread::thread_main_inner()+0x1fc
      V [libjvm.so+0x100f938] JavaThread::run()+0x1c0
      V [libjvm.so+0xdcb308] thread_native_entry(Thread*)+0x118
      C [libpthread.so.0+0x7e2c] start_thread+0xb0
      C [libc.so.6+0xc8430] clone+0x70

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vlivanov Vladimir Ivanov
                Reporter:
                jprovino Joseph Provino (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: