RFR: 8265135: Reduce work initializing VarForms [v4]

Claes Redestad redestad at openjdk.java.net
Wed Apr 14 17:37:55 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:

  Simplify resolveMemberName

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3472/files
  - new: https://git.openjdk.java.net/jdk/pull/3472/files/dc56c25b..f84f5194

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3472&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3472&range=02-03

  Stats: 9 lines in 1 file changed: 0 ins; 4 del; 5 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