RFR: 8318678: Vector access on heap MemorySegments only works for byte[] [v2]
Chris Hegarty
chegar at openjdk.org
Thu Oct 26 10:33:32 UTC 2023
On Thu, 26 Oct 2023 09:17:25 GMT, Per Minborg <pminborg at openjdk.org> wrote:
>> This PR proposes removing the restriction that only heap `MemorySegment` wrapping a `byte` array can be accessed by Vectors. Now any array type can be used provided the element alignment constraints are respected.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
>
> Allow unaligned array access
LGTM
-------------
Marked as reviewed by chegar (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/16360#pullrequestreview-1699260449
More information about the core-libs-dev
mailing list