On Wed, 25 Oct 2023 13:08:06 GMT, Per Minborg <pminb...@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. This pull request has now been integrated. Changeset: 74f1889b Author: Per Minborg <pminb...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/74f1889b58c6ad1cdc7401e7cbb9f614acf0c171 Stats: 503 lines in 12 files changed: 443 ins; 44 del; 16 mod 8318678: Vector access on heap MemorySegments only works for byte[] Reviewed-by: chegar, mcimadamore, psandoz ------------- PR: https://git.openjdk.org/jdk/pull/16360