Integrated: 8318678: Vector access on heap MemorySegments only works for byte[]
Per Minborg
pminborg at openjdk.org
Tue Nov 7 09:49:47 UTC 2023
On Wed, 25 Oct 2023 13:08:06 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.
This pull request has now been integrated.
Changeset: 74f1889b
Author: Per Minborg <pminborg at 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
More information about the core-libs-dev
mailing list