On Thu, 21 Sep 2023 08:50:00 GMT, Chen Liang <li...@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:
> 
>   byte array var handles can share a common base class

Since this cleanup affects both non-ffi and ffi VHs, I have re-targeted this 
against the FFI JEP pr. The only issue is that this pr now includes the 
mainline changes so the diff is probably not reviewable until the JEP pr's 
merged.

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

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

Reply via email to