On Fri, 6 Sep 2024 10:01:39 GMT, Claes Redestad <redes...@openjdk.org> wrote:

> - A small portion (~5%) of the instrumented overhead when spinning MH/LF 
> classes in `InvokeBytecodeGenerator` comes from creating the exact same 
> `RuntimeVisibleAnnotationsAttribute` for every method. Introducing a couple 
> of constants has a small but measurable impact.
> - `classDesc(MemberName.class)` is called ~8000 times during an OpenJDK 
> build, `classDesc(MethodType.class)` ~900 - special casing looks profitable
> - Class name validation narrowed down, use ReferenceClassDescImpl.ofValidated
> - Various minor optimizations helping reduce bytecode size and speed up 
> interpreter execution

Thanks for reviewing!

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

PR Comment: https://git.openjdk.org/jdk/pull/20887#issuecomment-2333959845

Reply via email to