During compilation C2 fails with
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/scratch/opt/mach5/mesos/work_dir/slaves/9190d864-6621-4810-ba08-d8d8c75ba674-S395/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b528528e-501d-44e6-b294-995b8b2b1881/runs/3f528bbf-2970-4319-80de-390e34a632b0/workspace/open/src/hotspot/share/opto/loopnode.cpp:4153), pid=8856, tid=8867
# assert(false) failed: Bad graph detected in build_loop_late
#
# JRE version: Java(TM) SE Runtime Environment (11.0+7) (fastdebug build 11-ea+7)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 11-ea+7, compiled mode, compressed oops, g1 gc, linux-amd64)
# Core dump will be written. Default location: Core dumps may be processed with "/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e %P %I %h" (or dumping to /tmp/fuzzer.tmp.XWph5hV3Hg/core.8856)
#
# 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: -Xmx1G -Xcomp -Xbatch -XX:-TieredCompilation -XX:CompileOnly= Test
Host: slc16ijb, Intel Core Processor (Haswell, no TSX), 4 cores, 14G, Oracle Linux Server release 7.4
Time: Sun Apr 29 11:54:38 2018 PDT elapsed time: 7 seconds (0d 0h 0m 7s)
--------------- T H R E A D ---------------
Current thread (0x00007f2fd0267000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=8867, stack(0x00007f2fb8a08000,0x00007f2fb8b09000)]
Current CompileTask:
C2: 7487 1368 b Test::vMeth1 (325 bytes)
Stack: [0x00007f2fb8a08000,0x00007f2fb8b09000], sp=0x00007f2fb8b03330, free space=1004k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x180fd12] VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long)+0x162
V [libjvm.so+0x1810baf] VMError::report_and_die(Thread*, char const*, int, char const*, char const*, __va_list_tag*)+0x2f
V [libjvm.so+0xb28abd] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V [libjvm.so+0x1260095] PhaseIdealLoop::build_loop_late_post(Node*)+0x285
V [libjvm.so+0x126062b] PhaseIdealLoop::build_loop_late(VectorSet&, Node_List&, Node_Stack&)+0x10b
V [libjvm.so+0x1264da4] PhaseIdealLoop::build_and_optimize(bool, bool)+0x904
V [libjvm.so+0xa8df29] Compile::Optimize()+0xcd9
V [libjvm.so+0xa8f4ee] Compile::Compile(ciEnv*, C2Compiler*, ciMethod*, int, bool, bool, bool, DirectiveSet*)+0x124e
V [libjvm.so+0x8b27d2] C2Compiler::compile_method(ciEnv*, ciMethod*, int, DirectiveSet*)+0x2e2
V [libjvm.so+0xa99d48] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x3b8
V [libjvm.so+0xa9a9d1] CompileBroker::compiler_thread_loop()+0x281
V [libjvm.so+0x17635f2] JavaThread::thread_main_inner()+0x242
V [libjvm.so+0x17637f4] JavaThread::run()+0x144
V [libjvm.so+0x1495212] thread_native_entry(Thread*)+0x112