When two exception states are combined with different stack sizes, we hit this assert:
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle/jdk/open/src/hotspot/share/opto/graphKit.cpp:348), pid=492513, tid=492526
# assert(ex_jvms->sp() == phi_map->_jvms->sp()) failed: matching stack sizes
We have two workarounds so far:JDK-8275638 and JDK-8273165. We should remove these workarounds and implement a permanent fix.
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/oracle/jdk/open/src/hotspot/share/opto/graphKit.cpp:348), pid=492513, tid=492526
# assert(ex_jvms->sp() == phi_map->_jvms->sp()) failed: matching stack sizes
We have two workarounds so far:
- clones
-
JDK-8275638 GraphKit::combine_exception_states fails with "matching stack sizes" assert
- Closed
- duplicates
-
JDK-8278846 C2: revisit exception propagation
- Open
- relates to
-
JDK-4432078 2 JIT tests fail in comp mode only.
- Closed
-
JDK-8271276 C2: Wrong JVM state used for receiver null check
- Closed
-
JDK-8273165 GraphKit::combine_exception_states fails with "matching stack sizes" assert
- Closed
-
JDK-8278846 C2: revisit exception propagation
- Open
(1 relates to)