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

[lworld] TestNullableInlineTypes::test102_verifier hits "Inline type allocations should not have safepoint uses"

XMLWordPrintable

      TestNullableInlineTypes fails after the test migration (JDK-8324949) with '-Xcomp -XX:-TieredCompilation -DIgnoreCompilerControls=true':

      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/workspace/open/src/hotspot/share/opto/macro.cpp:963), pid=2652474, tid=2652490
      # assert(safepoints.length() == 0 || !res_type->is_inlinetypeptr()) failed: Inline type allocations should not have safepoint uses

      Current CompileTask:
      C2:28934 4762 b compiler.valhalla.inlinetypes.TestNullableInlineTypes::test102_verifier (25 bytes)

      Stack: [0x00007f8da8206000,0x00007f8da8306000], sp=0x00007f8da8301260, free space=1004k
      Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x1326f93] PhaseMacroExpand::scalar_replacement(AllocateNode*, GrowableArray<SafePointNode*>&)+0x833 (macro.cpp:963)
      V [libjvm.so+0x13272e2] PhaseMacroExpand::eliminate_allocate_node(AllocateNode*) [clone .part.0]+0x252 (macro.cpp:1223)
      V [libjvm.so+0x1327a25] PhaseMacroExpand::eliminate_macro_nodes()+0x2d5 (node.hpp:403)
      V [libjvm.so+0xa363a6] Compile::Optimize()+0x14d6 (compile.cpp:2839)
      V [libjvm.so+0xa396c1] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1b81 (compile.cpp:869)
      V [libjvm.so+0x873667] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x207 (c2compiler.cpp:134)
      V [libjvm.so+0xa451a0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x980 (compileBroker.cpp:2292)
      V [libjvm.so+0xa45ed8] CompileBroker::compiler_thread_loop()+0x4a8 (compileBroker.cpp:1951)
      V [libjvm.so+0xf09d5c] JavaThread::thread_main_inner()+0xcc (javaThread.cpp:721)
      V [libjvm.so+0x180d1da] Thread::call_run()+0xba (thread.cpp:220)
      V [libjvm.so+0x14fdfda] thread_native_entry(Thread*)+0x12a (os_linux.cpp:787)

            chagedorn Christian Hagedorn
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: