RFR: 8187826: Avoid using reflection to bootstrap NamedFunctions
Paul Sandoz
paul.sandoz at oracle.com
Tue Sep 26 19:12:55 UTC 2017
> On 22 Sep 2017, at 07:47, Claes Redestad <claes.redestad at oracle.com> wrote:
>
> Hi,
>
> please review this fix to resolve MemberNames instead of
> going via reflection to get the Method when setting up
> various NamedFunctions, since this no longer appears to be
> necessary to break bootstrap cycles:
>
> Webrev: http://cr.openjdk.java.net/~redestad/8187826/jdk.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8187826
>
> This avoids loading a few classes and reduces cycles taken
> to bootstrap indy by ~2M (1.4%) and instructions count by
> ~1M (0.7%) in a minimal MH-exercising test.
>
+1
Paul.
More information about the core-libs-dev
mailing list