Integrated: 8265135: Reduce work initializing VarForms

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


On Tue, 13 Apr 2021 18:11:37 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%.

This pull request has now been integrated.

Changeset: 5303ccb8
Author:    Claes Redestad <redestad at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5303ccb8
Stats:     103 lines in 3 files changed: 54 ins; 38 del; 11 mod

8265135: Reduce work initializing VarForms

Reviewed-by: psandoz, mchung

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

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


More information about the core-libs-dev mailing list