RFR: 8265135: Reduce work initializing VarForms [v5]

Claes Redestad redestad at openjdk.java.net
Mon Apr 19 14:44:36 UTC 2021


On Wed, 14 Apr 2021 21:26:52 GMT, Claes Redestad <redestad at openjdk.org> wrote:

>> This patch reduces work done initializing VarForms - mostly observed when loading each VarHandle implementation class.
>> 
>> - Lazily resolve MemberNames.
>> - Streamline MethodType creation. This reduces the number of MethodTypes created. 
>> 
>> Net effect is a reduction in bytecode executed per VH class by 50-60%.
>
> Claes Redestad has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add resolveOrNull for exploded MemberName

Thanks for reviewing, Mandy and Paul

-------------

PR: https://git.openjdk.java.net/jdk/pull/3472


More information about the core-libs-dev mailing list