C2 crashes with the attached Test.java with -XX:+StressReflectiveCode after JDK-6914801 (must be a side effect and probably also affects earlier JDK versions):
$ java -Xcomp -XX:CompileOnly=*TimeZone::* -XX:+StressReflectiveCode Test.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S34988/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f3243ba7-b34c-4eb2-9276-e1867faa18c0/runs/041c28e0-2159-4d53-90b3-ac7f539a1569/workspace/open/src/hotspot/share/opto/subtypenode.cpp:113), pid=34293, tid=34312
# assert(verify(phase)) failed: missing Value() optimization
#
# JRE version: Java(TM) SE Runtime Environment (27.0+4) (fastdebug build 27-ea+4-277)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-ea+4-277, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1b0b426] SubTypeCheckNode::Ideal(PhaseGVN*, bool)+0x416
.............
Command Line: -Xcomp -XX:CompileOnly=*TimeZone::* -XX:+StressReflectiveCode --add-modules=ALL-DEFAULT jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher Test.java
.............
Current CompileTask:
C2:999 103 b 4 java.util.TimeZone::getDefault (10 bytes)
Stack: [0x00007f0d1f299000,0x00007f0d1f399000], sp=0x00007f0d1f395080, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1b0b426] SubTypeCheckNode::Ideal(PhaseGVN*, bool)+0x416 (subtypenode.cpp:113)
V [libjvm.so+0x189eb3b] PhaseGVN::transform(Node*)+0x6b
V [libjvm.so+0xff81b7] GraphKit::gen_subtype_check(Node*, Node*)+0xe7
V [libjvm.so+0xff86cb] GraphKit::subtype_check_receiver(Node*, ciKlass*, Node**)+0x5b
V [libjvm.so+0x9d40c1] PredictedCallGenerator::generate(JVMState*)+0x171
V [libjvm.so+0xd86a02] Parse::do_call()+0x722
V [libjvm.so+0x186ebc8] Parse::do_one_bytecode()+0x4c8
V [libjvm.so+0x185afc7] Parse::do_one_block()+0x357
V [libjvm.so+0x185c2c0] Parse::do_all_blocks()+0x130
V [libjvm.so+0x185f833] Parse::Parse(JVMState*, ciMethod*, float)+0xa93
V [libjvm.so+0x9cfc4b] ParseGenerator::generate(JVMState*)+0x13b
V [libjvm.so+0xbb5b25] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1895
V [libjvm.so+0x9cd4e8] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x498
V [libjvm.so+0xbc57a0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x780
V [libjvm.so+0xbc7000] CompileBroker::compiler_thread_loop()+0x530
V [libjvm.so+0x112a41b] JavaThread::thread_main_inner()+0x13b
V [libjvm.so+0x1bb5d76] Thread::call_run()+0xb6
V [libjvm.so+0x180ba18] thread_native_entry(Thread*)+0x118
$ java -Xcomp -XX:CompileOnly=*TimeZone::* -XX:+StressReflectiveCode Test.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/opt/mach5/mesos/work_dir/slaves/da1065b5-7b94-4f0d-85e9-a3a252b9a32e-S34988/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/f3243ba7-b34c-4eb2-9276-e1867faa18c0/runs/041c28e0-2159-4d53-90b3-ac7f539a1569/workspace/open/src/hotspot/share/opto/subtypenode.cpp:113), pid=34293, tid=34312
# assert(verify(phase)) failed: missing Value() optimization
#
# JRE version: Java(TM) SE Runtime Environment (27.0+4) (fastdebug build 27-ea+4-277)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (fastdebug 27-ea+4-277, compiled mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1b0b426] SubTypeCheckNode::Ideal(PhaseGVN*, bool)+0x416
.............
Command Line: -Xcomp -XX:CompileOnly=*TimeZone::* -XX:+StressReflectiveCode --add-modules=ALL-DEFAULT jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher Test.java
.............
Current CompileTask:
C2:999 103 b 4 java.util.TimeZone::getDefault (10 bytes)
Stack: [0x00007f0d1f299000,0x00007f0d1f399000], sp=0x00007f0d1f395080, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1b0b426] SubTypeCheckNode::Ideal(PhaseGVN*, bool)+0x416 (subtypenode.cpp:113)
V [libjvm.so+0x189eb3b] PhaseGVN::transform(Node*)+0x6b
V [libjvm.so+0xff81b7] GraphKit::gen_subtype_check(Node*, Node*)+0xe7
V [libjvm.so+0xff86cb] GraphKit::subtype_check_receiver(Node*, ciKlass*, Node**)+0x5b
V [libjvm.so+0x9d40c1] PredictedCallGenerator::generate(JVMState*)+0x171
V [libjvm.so+0xd86a02] Parse::do_call()+0x722
V [libjvm.so+0x186ebc8] Parse::do_one_bytecode()+0x4c8
V [libjvm.so+0x185afc7] Parse::do_one_block()+0x357
V [libjvm.so+0x185c2c0] Parse::do_all_blocks()+0x130
V [libjvm.so+0x185f833] Parse::Parse(JVMState*, ciMethod*, float)+0xa93
V [libjvm.so+0x9cfc4b] ParseGenerator::generate(JVMState*)+0x13b
V [libjvm.so+0xbb5b25] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x1895
V [libjvm.so+0x9cd4e8] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x498
V [libjvm.so+0xbc57a0] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x780
V [libjvm.so+0xbc7000] CompileBroker::compiler_thread_loop()+0x530
V [libjvm.so+0x112a41b] JavaThread::thread_main_inner()+0x13b
V [libjvm.so+0x1bb5d76] Thread::call_run()+0xb6
V [libjvm.so+0x180ba18] thread_native_entry(Thread*)+0x118