RFR: 8265135: Reduce work initializing VarForms [v5]
Claes Redestad
redestad at openjdk.java.net
Wed Apr 14 21:26:52 UTC 2021
> 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
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3472/files
- new: https://git.openjdk.java.net/jdk/pull/3472/files/f84f5194..1c2208c1
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3472&range=04
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3472&range=03-04
Stats: 24 lines in 2 files changed: 13 ins; 7 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/3472.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3472/head:pull/3472
PR: https://git.openjdk.java.net/jdk/pull/3472
More information about the core-libs-dev
mailing list