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

[lworld] C2 compilation fails with "Error mixing types: NULL and valuetype[3]"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: hotspot
    • Labels:

      Description

      Error mixing types: NULL and valuetype[3]:{int, byte, compiler/valhalla/valuetypes/MyValue2Inline}

      # Internal Error (/oracle/valhallaL/open/src/hotspot/share/opto/type.cpp:1151), pid=8844, tid=8858
      # Error: ShouldNotReachHere()

      Current CompileTask:
      C2: 1671 295 Test3::sum (46 bytes)

      Stack: [0x00007fcc08072000,0x00007fcc08173000], sp=0x00007fcc0816f320, free space=1012k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1a9adb3] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x183
      V [libjvm.so+0x1a9bdbf] VMError::report_and_die(Thread*, void*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0xbc67fa] report_vm_error(char const*, int, char const*, char const*, ...)+0x12a
      V [libjvm.so+0x19d0901] Type::typerr(Type const*) const+0x81
      V [libjvm.so+0x19d7603] TypePtr::xmeet_helper(Type const*) const+0x173
      V [libjvm.so+0x19cd216] TypePtr::xmeet(Type const*) const+0x16
      V [libjvm.so+0x19d67c4] Type::meet_helper(Type const*, bool) const+0x44
      V [libjvm.so+0x902400] PhiNode::Value(PhaseGVN*) const+0x1a0
      V [libjvm.so+0x170cadd] PhaseGVN::transform_no_reclaim(Node*)+0x13d
      V [libjvm.so+0x16af31d] Parse::do_exits()+0x29d
      V [libjvm.so+0x16b847c] Parse::Parse(JVMState*, ciMethod*, float)+0xdbc
      V [libjvm.so+0x8ba568] ParseGenerator::generate(JVMState*)+0x208
      V [libjvm.so+0xcd370b] Parse::do_call()+0x4fb
      V [libjvm.so+0x16c5880] Parse::do_one_bytecode()+0x650
      V [libjvm.so+0x16b3eca] Parse::do_one_block()+0x39a
      V [libjvm.so+0x16b4ad0] Parse::do_all_blocks()+0x1c0
      V [libjvm.so+0x16b8435] Parse::Parse(JVMState*, ciMethod*, float)+0xd75
      V [libjvm.so+0x8ba568] ParseGenerator::generate(JVMState*)+0x208
      V [libjvm.so+0xad3a67] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x1047
      V [libjvm.so+0x8b7cd2] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x302
      V [libjvm.so+0xae1230] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3c0
      V [libjvm.so+0xae20a7] CompileBroker::compiler_thread_loop()+0x3e7
      V [libjvm.so+0x19a66e7] JavaThread::thread_main_inner()+0x287
      V [libjvm.so+0x19a1c65] Thread::call_run()+0x75
      V [libjvm.so+0x1654a98] thread_native_entry(Thread*)+0x118

        Attachments

          Activity

            People

            • Assignee:
              thartmann Tobias Hartmann
              Reporter:
              thartmann Tobias Hartmann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: