[9] RFR (S) 8062280: C2: inlining failure due to access checks being too strict
Vladimir Kozlov
vladimir.kozlov at oracle.com
Tue Mar 24 01:42:07 UTC 2015
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