RFR: 8265135: Reduce work initializing VarForms [v3]

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

  Revert UOE change, ensure VarHandle.isAccessModeSupported behaves well


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

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

  Stats: 25 lines in 2 files changed: 13 ins; 6 del; 6 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