several vmTestbase/metaspace/stressHierarchy tests hit the following assert when run w/ zgc in tier3-gc-zgc
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (open/src/hotspot/share/opto/macro.cpp:1011), pid=27511, tid=27582
# assert(init->in(TypeFunc::Control) == _fallthroughcatchproj) failed: allocation control projection
#
# JRE version: Java(TM) SE Runtime Environment (13.0) (fastdebug build 13-ea+0-1352)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 13-ea+0-1352, mixed mode, tiered, z gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1202367] PhaseMacroExpand::process_users_of_allocation(CallNode*)+0xe47
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Dtest.class.path.prefix=/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.d:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/src.full/open/test/hotspot/jtreg/vmTestbase/metaspace/stressHierarchy/stressHierarchy012:/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/vmTestbase:/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/test/lib -Dtest.src=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/src.full/open/test/hotspot/jtreg/vmTestbase/metaspace/stressHierarchy/stressHierarchy012 -Dtest.src.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/src.full/open/test/hotspot/jtreg/vmTestbase/metaspace/stressHierarchy/stressHierarchy012:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/src.full/open/test/hotspot/jtreg/vmTestbase:/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/src.full/open/test/lib -Dtest.classes=/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.d -Dtest.class.path=/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.d:/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/vmTestbase:/scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/classes/2/test/lib -Dtest.vm.opts=-XX:MaxRAMPercentage=1 -Dtest.tool.vm.opts=-J-XX:MaxRAMPercentage=1 -Dtest.compiler.opts= -Dtest.java.opts=-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+IgnoreUnrecognizedVMOptions -Dtest.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/linux-x64-debug.jdk/jdk-13/fastdebug -Dcompile.jdk=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/linux-x64-debug.jdk/jdk-13/fastdebug -Dtest.timeout.factor=4.0 -Dtest.root=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/src.full/open/test/hotspot/jtreg -Dtest.nativepath=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/linux-x64-debug.test/hotspot/jtreg/native -XX:MaxRAMPercentage=1 -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:+IgnoreUnrecognizedVMOptions -Djava.library.path=/scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-13-1352/linux-x64-debug.test/hotspot/jtreg/native -XX:MaxMetaspaceSize=250m -Xss10m -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI com.sun.javatest.regtest.agent.MainWrapper /scratch/opt/mach5/mesos/work_dir/slaves/f5ba6a11-eb55-4776-b7b2-c560126634d9-S762/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/82ca8b66-9aa2-40c0-afc1-a7f4843a175e/runs/14215c66-a50b-4f2c-92d1-9abdc4e508f6/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_metaspace/vmTestbase/metaspace/stressHierarchy/stressHierarchy012/TestDescription.d/main.0.jta -treeDepth 70 -minLevelSize 10 -maxLevelSize 100 -hierarchyType MIXED -triggerUnloadingByFillingMetaspace
Host: <hots>, Intel(R) Xeon(R) CPU E5-2690 0 @ 2.90GHz, 32 cores, 251G, Oracle Linux Server release 7.4
Time: Thu Jun 20 02:29:51 2019 UTC elapsed time: 5 seconds (0d 0h 0m 5s)
--------------- T H R E A D ---------------
Current thread (0x00007fc2987f6fb0): JavaThread "C2 CompilerThread6" daemon [_thread_in_native, id=27582, stack(0x00007fc28f5fe000,0x00007fc28f6ff000)]
Current CompileTask:
C2: 5226 4037 4 com.sun.tools.javac.code.Type$StructuralTypeMapping::visitClassType (67 bytes)
Stack: [0x00007fc28f5fe000,0x00007fc28f6ff000], sp=0x00007fc28f6fa1b0, 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+0x1202367] PhaseMacroExpand::process_users_of_allocation(CallNode*)+0xe47
V [libjvm.so+0x12028eb] PhaseMacroExpand::eliminate_allocate_node(AllocateNode*)+0x36b
V [libjvm.so+0x1207ff7] PhaseMacroExpand::eliminate_macro_nodes()+0x4b7
V [libjvm.so+0x12080b9] PhaseMacroExpand::expand_macro_nodes()+0x19
V [libjvm.so+0x9c53aa] Compile::Optimize()+0xe6a
V [libjvm.so+0x9c665c] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x106c
V [libjvm.so+0x8073dd] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x10d
V [libjvm.so+0x9d320d] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x46d
V [libjvm.so+0x9d4218] CompileBroker::compiler_thread_loop()+0x3b8
V [libjvm.so+0x16cb65a] JavaThread::thread_main_inner()+0x26a
V [libjvm.so+0x16d3cc7] JavaThread::run()+0x227
V [libjvm.so+0x16d0d36] Thread::call_run()+0xf6
V [libjvm.so+0x13ef21e] thread_native_entry(Thread*)+0x10e