RFR: 8316641: VarHandle template classes can share code in the base class [v5]
Chen Liang
liach at openjdk.org
Sun Sep 24 02:11:50 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:
Simplify non-Object array VH
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15854/files
- new: https://git.openjdk.org/jdk/pull/15854/files/83f792e2..18d1be8b
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15854&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15854&range=03-04
Stats: 122 lines in 2 files changed: 41 ins; 37 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