RFR: 8265135: Reduce work initializing VarForms [v2]
Claes Redestad
redestad at openjdk.java.net
Wed Apr 14 10:22:12 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:
Change from UOE to InternalError
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3472/files
- new: https://git.openjdk.java.net/jdk/pull/3472/files/f2067686..708c0e28
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3472&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3472&range=00-01
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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