[9] RFR (XS): 8150320: C1: Illegal bci in debug info for MH::linkTo* methods

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Mar 9 13:09:00 UTC 2016


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

C1 doesn't attach any bci info to TypeCast nodes which narrow receiver 
and argument types when inlining through MH::linkTo* happens.

The fix is to switch from parse-only to complete JVM state.

No test case provided since it is hard to trigger the problem in a unit 
test.

Testing: verified that the assert doesn't fire anymore w/ a long-running 
javac.

Thanks!

Best regards,
Vladimir Ivanov


More information about the hotspot-compiler-dev mailing list