RFR: 8318678: Vector access on heap MemorySegments only works for byte[] [v4]

Per Minborg pminborg at openjdk.org
Wed Nov 1 10:33:23 UTC 2023


> 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:

  Remove IntrinsicHeapTest

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16360/files
  - new: https://git.openjdk.org/jdk/pull/16360/files/c104051c..7f4a1871

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16360&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16360&range=02-03

  Stats: 160 lines in 1 file changed: 0 ins; 160 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/16360.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16360/head:pull/16360

PR: https://git.openjdk.org/jdk/pull/16360


More information about the core-libs-dev mailing list