[13] RFR (S): 8225106: C2: Parse::clinit_deopt asserts when holder klass is in error state

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri May 31 20:15:11 UTC 2019


http://cr.openjdk.java.net/~vlivanov/8225106/webrev.00/
https://bugs.openjdk.java.net/browse/JDK-8225106

Some asserts introduced as part of JDK-8223213 [1] don't take into 
account the case when the class which participates in class 
intialization barrier is in error state (class initialization failed 
with an exception).

Proposed fix adjusts the asserts, plus slightly improves handling of 
cases when classes in error state are encountered.

Testing: hs-precheckin-comp, tier1-4

Best regards,
Vladimir Ivanov

[1] https://bugs.openjdk.java.net/browse/JDK-8223213


More information about the hotspot-compiler-dev mailing list