-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
None
-
b15
- 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 constant or two has a small but measurable impact.
- classDesc(MemberName.class) is called ~8000 times during a build, classDesc(MethodType.class) ~900 - special casing is profitable
- class name validation in InvokerBytecodeGenerator can be narrowed down
- various minor inefficiencies
- classDesc(MemberName.class) is called ~8000 times during a build, classDesc(MethodType.class) ~900 - special casing is profitable
- class name validation in InvokerBytecodeGenerator can be narrowed down
- various minor inefficiencies
- links to
-
Commit(master)
openjdk/jdk/d2b36f09
-
Review(master)
openjdk/jdk/20887