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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Wed Mar 25 19:07:44 UTC 2015


Thanks, Vladimir.

Best regards, Vladimir Ivanov

On 3/24/15 4:42 AM, Vladimir Kozlov wrote:

Looks fine to me.

Vladimir K On 3/23/15 5:27 PM, Vladimir Ivanov wrote: http://cr.openjdk.java.net/~vlivanov/8062280/webrev.00/ https://bugs.openjdk.java.net/browse/JDK-8062280

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