RFR: 8343188: Investigate ways to simplify MemorySegment::ofBuffer [v3]

Per Minborg pminborg at openjdk.org
Thu Oct 31 12:56:54 UTC 2024


> This PR proposes to improve `MemorySegment::ofBuffer` making it more amenable to inlining and generally improving performance.
> 
> Testing successfully on tier1-3

Per Minborg has updated the pull request incrementally with one additional commit since the last revision:

  Fix issue in scaleFactor()

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21764/files
  - new: https://git.openjdk.org/jdk/pull/21764/files/fd9a7b60..caddae8c

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

  Stats: 18 lines in 4 files changed: 17 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21764.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21764/head:pull/21764

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


More information about the core-libs-dev mailing list