[9] RFR (S) 8062280: C2: inlining failure due to access checks being too strict

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Tue Mar 24 00:27:21 UTC 2015


C2 inlining policy is too strict when it comes to inlining DMH linkers.
The compiler performs access checks on target method and sometimes it 
breaks inlining. Such checks can be skipped since MemberNames are 
checked during construction.

The fix is to disable access checks when inlining DMH linkers.

Testing: regression test, java/lang/invoke tests, nashorn, octane.

Best regards,
Vladimir Ivanov

More information about the hotspot-compiler-dev mailing list