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

[lworld] Non-flattened array blocks scalarization of inline type

XMLWordPrintable

      # Internal Error (/oracle/valhalla/open/src/hotspot/share/opto/macro.cpp:1207), pid=296976, tid=296991
      # assert(!inline_alloc || !tklass->klass()->as_inline_klass()->is_scalarizable()) failed: Scalarizable inline type allocations should not have safepoint uses

      Current CompileTask:
      C2: 679 431 b 4 compiler.valhalla.inlinetypes.TestGenerated::test9 (37 bytes)

      Stack: [0x00007f8385638000,0x00007f8385739000], sp=0x00007f8385734380, free space=1008k
      Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
      V [libjvm.so+0x139ab19] PhaseMacroExpand::eliminate_allocate_node(AllocateNode*) [clone .part.0]+0x4d9
      V [libjvm.so+0x139acb3] PhaseMacroExpand::eliminate_macro_nodes()+0x133
      V [libjvm.so+0x139b269] PhaseMacroExpand::expand_macro_nodes()+0x19
      V [libjvm.so+0xa49f02] Compile::Optimize()+0x1722
      V [libjvm.so+0xa4bd35] Compile::Compile(ciEnv*, ciMethod*, int, bool, bool, bool, bool, DirectiveSet*)+0x1aa5
      V [libjvm.so+0x861128] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x1f8
      V [libjvm.so+0xa5bd11] CompileBroker::invoke_compiler_on_method(CompileTask*)+0xea1
      V [libjvm.so+0xa5c998] CompileBroker::compiler_thread_loop()+0x5a8
      V [libjvm.so+0x1921956] JavaThread::thread_main_inner()+0x256
      V [libjvm.so+0x1927dd0] Thread::call_run()+0x100
      V [libjvm.so+0x15ea876] thread_native_entry(Thread*)+0x116

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

              Created:
              Updated:
              Resolved: