JDK-8239335 : C2: assert((Value(phase) == t) || (t != TypeInt::CC_GT && t != TypeInt::CC_EQ)) failed: missing Value() optimization
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 15
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2020-02-18
  • Updated: 2020-08-05
  • Resolved: 2020-07-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b14Fixed
Related Reports
Relates :  
Relates :  
Description
The assertion was observed when running the JCK test api/java_lang/Class/Reflect.html with -Xcomp -XX:-TieredCompilation.

Stack: [0x00007ff520535000,0x00007ff520636000],  sp=0x00007ff520632300,  free space=1012k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V  [libjvm.so+0x15db3da]  SubTypeCheckNode::Ideal(PhaseGVN*, bool)+0x11fa
V  [libjvm.so+0x1313d2c]  PhaseGVN::transform_no_reclaim(Node*)+0x7c
V  [libjvm.so+0xb57d53]  GraphKit::gen_subtype_check(Node*, Node*)+0x123
V  [libjvm.so+0xfd44e8]  LibraryCallKit::inline_native_subtype_check()+0x628
V  [libjvm.so+0xfe847f]  LibraryIntrinsic::generate(JVMState*)+0xbf
V  [libjvm.so+0x9835d5]  Parse::do_call()+0x4f5
���

Reproduction:
jdk/bin/java -XX:+ReplayCompiles -XX:ReplayDataFile=replay_pid8846.log -XX:+ReplayIgnoreInitErrors -Xcomp -XX:-TieredCompilation --enable-preview -classpath JCK-runtime-15/lib/javatest.jar:JCK-runtime-15/classes:JCK-runtime-15/lib/jtjck.jar:JCK-runtime-15/lib/extensions/JCK-extensions.jar -Djava.security.policy=JCK-runtime-15/lib/jck.policy com.sun.jck.lib.ExecJCKTestSameJVMCmd -loadDir JCK-runtime-15/classes: javasoft.sqe.tests.api.java.lang.Class.ReflectTests -TestURL file:JCK-runtime-15/tests/api/java_lang/Class/Reflect.html

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/8d1e70f7f279 User: roland Date: 2020-03-09 10:44:52 +0000
09-03-2020