Running test/hotspot/jtreg/compiler/valhalla/inlinetypes/TestNullableInlineTypes.java with '-XX:-UseCompressedOops -XX:+UseG1GC -XX:-ReduceInitialCardMarks -DScenarios=5 -DTest=test85':
85633 1298 b 4 compiler.valhalla.inlinetypes.TestNullableInlineTypes::test85 (98 bytes) COMPILE SKIPPED: Out of nodes (retry at different tier)
We run out of nodes while doing:
#0 0x00007ffff64b2ffc in PhiNode::verify_adr_type (this=this@entry=0x7ffda58c09a0, recursive=true) at /oracle/valhalla/open/src/hotspot/share/libadt/vectset.hpp:56
#1 0x00007ffff64b2a34 in PhiNode::verify_adr_type (this=this@entry=0x7ffda58c09a0, recursive=recursive@entry=true) at /oracle/valhalla/open/src/hotspot/share/ci/ciEnv.hpp:453
#2 0x00007ffff67e7471 in PhiNode::adr_type (this=0x7ffda58c09a0) at /oracle/valhalla/open/src/hotspot/share/opto/cfgnode.hpp:241
#3 ConnectionGraph::create_split_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4c2d480, alias_idx=alias_idx@entry=198, orig_phi_worklist=..., new_created=@0x7ffdd5ae84bf: false)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3254
#4 0x00007ffff67e8636 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4c2d480, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3289
#5 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#6 0x00007ffff67e87a9 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4fa42a0, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/node.hpp:403
#7 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#8 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#9 0x00007ffff67e87a9 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4f9d148, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/node.hpp:403
#10 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#11 0x00007ffff67e87a9 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4f9fd48, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/node.hpp:403
#12 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#13 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#14 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#15 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#16 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#17 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#18 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#19 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
Increasing the MaxNodeLimit "solves" the issue:
-XX:MaxNodeLimit=100000
We need to investigate why such a large number of nodes in generated. Compilation also takes extremely long.
Might be related toJDK-8324345 and/or JDK-8302217.
85633 1298 b 4 compiler.valhalla.inlinetypes.TestNullableInlineTypes::test85 (98 bytes) COMPILE SKIPPED: Out of nodes (retry at different tier)
We run out of nodes while doing:
#0 0x00007ffff64b2ffc in PhiNode::verify_adr_type (this=this@entry=0x7ffda58c09a0, recursive=true) at /oracle/valhalla/open/src/hotspot/share/libadt/vectset.hpp:56
#1 0x00007ffff64b2a34 in PhiNode::verify_adr_type (this=this@entry=0x7ffda58c09a0, recursive=recursive@entry=true) at /oracle/valhalla/open/src/hotspot/share/ci/ciEnv.hpp:453
#2 0x00007ffff67e7471 in PhiNode::adr_type (this=0x7ffda58c09a0) at /oracle/valhalla/open/src/hotspot/share/opto/cfgnode.hpp:241
#3 ConnectionGraph::create_split_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4c2d480, alias_idx=alias_idx@entry=198, orig_phi_worklist=..., new_created=@0x7ffdd5ae84bf: false)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3254
#4 0x00007ffff67e8636 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4c2d480, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3289
#5 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#6 0x00007ffff67e87a9 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4fa42a0, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/node.hpp:403
#7 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#8 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#9 0x00007ffff67e87a9 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4f9d148, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/node.hpp:403
#10 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#11 0x00007ffff67e87a9 in ConnectionGraph::split_memory_phi (this=this@entry=0x7ffda4993790, orig_phi=orig_phi@entry=0x7ffda4f9fd48, alias_idx=alias_idx@entry=198, orig_phi_worklist=...)
at /oracle/valhalla/open/src/hotspot/share/opto/node.hpp:403
#12 0x00007ffff67e81f4 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3584
#13 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#14 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#15 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#16 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#17 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#18 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
#19 0x00007ffff67e7aa0 in ConnectionGraph::find_inst_mem (this=this@entry=0x7ffda4993790, orig_mem=<optimized out>, alias_idx=alias_idx@entry=198, orig_phis=...)
at /oracle/valhalla/open/src/hotspot/share/opto/escape.cpp:3516
Increasing the MaxNodeLimit "solves" the issue:
-XX:MaxNodeLimit=100000
We need to investigate why such a large number of nodes in generated. Compilation also takes extremely long.
Might be related to
- relates to
-
JDK-8302217 [lworld] Infinite invocation of PhiNode::push_inline_types_through
-
- Open
-