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

[MVT] Assert failure "value type should be loaded"

    XMLWordPrintable

    Details

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

      Description

      When executing the ValueTypeTestBench with -XX:-ValueTypePassFieldsAsArgs -Xcomp we fail with:

      # Internal Error (/oracle/valhalla_cp/hotspot/src/share/vm/opto/valuetypenode.cpp:63), pid=24445, tid=24462
      # assert(oop->is_Con() || oop->is_CheckCastPP() || vt->is_loaded(&gvn, type) != __null) failed: value type should be loaded

      Current CompileTask:
      C2: 83287 766 b java.lang.invoke.LambdaForm$Value$DMH/853119666::invokeStatic (15 bytes)

      Stack: [0x00007f228803f000,0x00007f2288140000], sp=0x00007f228813ccd0, free space=1015k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1740abc] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x18c
      V [libjvm.so+0x174188f] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
      V [libjvm.so+0xb2d84d] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
      V [libjvm.so+0x16e3c80] ValueTypeNode::make(PhaseGVN&, Node*, Node*)+0x960
      V [libjvm.so+0x141b13f] Compile::build_start_state(StartNode*, TypeFunc const*)+0x3bf
      V [libjvm.so+0xa96146] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0xfa6
      V [libjvm.so+0x892932] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2e2
      V [libjvm.so+0xaa2e8c] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x56c
      V [libjvm.so+0xaa41c8] CompileBroker::compiler_thread_loop()+0x478
      V [libjvm.so+0x167fc1e] JavaThread::thread_main_inner()+0x22e
      V [libjvm.so+0x13c5652] thread_native_entry(Thread*)+0x112
      C [libpthread.so.0+0x8184] start_thread+0xc4

        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: