[code-reflection] RFR: Add HATPtrOps to array view

Juan Fumero jfumero at openjdk.org
Fri Dec 19 08:12:12 UTC 2025


On Fri, 19 Dec 2025 07:44:33 GMT, Juan Fumero <jfumero at openjdk.org> wrote:

>> Add four new HATPtrOps to support array views.
>> 
>> Also update array view tests and add a new test to check for correct memory copies for a write only buffer.
>> 
>> Minor change in BufferTagger to change access types into bytes.
>
> hat/core/src/main/java/hat/buffer/BF16Array.java line 51:
> 
>> 49:     }
>> 50: 
>> 51:     default BF16Impl[] arrayview() {return null;}
> 
> Rename to `arrayView` for consistency with the other types.

Do we have any unit-test that uses this view?

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

PR Review Comment: https://git.openjdk.org/babylon/pull/765#discussion_r2634054389


More information about the babylon-dev mailing list