RFR: 8316641: VarHandle template classes can share code in the base class [v6]

Chen Liang liach at openjdk.org
Sun Sep 24 13:16:02 UTC 2023


> VarHandle implementations have many static fields and methods that can be pulled to the common superclass to avoid repeated initialization and code duplication.
> 
> In addition, the Unsafe-based Buffer field access are replaced by usage of public methods or JavaNioAccess.

Chen Liang has updated the pull request incrementally with one additional commit since the last revision:

  Revert "Simplify non-Object array VH"
  
  This reverts commit 18d1be8b3b3aae1395d4096f5e2b95dbf078db0c.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15854/files
  - new: https://git.openjdk.org/jdk/pull/15854/files/18d1be8b..72836c28

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15854&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15854&range=04-05

  Stats: 122 lines in 2 files changed: 37 ins; 41 del; 44 mod
  Patch: https://git.openjdk.org/jdk/pull/15854.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15854/head:pull/15854

PR: https://git.openjdk.org/jdk/pull/15854


More information about the core-libs-dev mailing list