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

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


On Sun, 24 Sep 2023 02:11:50 GMT, Chen Liang <liach at openjdk.org> wrote:

>> 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

A commit that simplified primitive array VarHandles was split into a separate patch.

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

PR Comment: https://git.openjdk.org/jdk/pull/15854#issuecomment-1732567386


More information about the core-libs-dev mailing list