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

Looks good to me.  I also agree with Paul's suggestion to throw InternalError 
for errors that should never happen.

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

Marked as reviewed by mchung (Reviewer).

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

Reply via email to