> This code makes an intrinsic stub for `Unsafe::setMemory`.  See [this 
> PR](https://github.com/openjdk/jdk/pull/16760) for discussion around this 
> change.
> 
> Overall, making this an intrinsic improves overall performance of 
> `Unsafe::setMemory` by up to 4x for all buffer sizes.
> 
> Tested with tier-1 (and full CI).  I've added a table of the before and after 
> numbers for the JMH I ran (`MemorySegmentZeroUnsafe`).
> 
> [setMemoryBM.txt](https://github.com/openjdk/jdk/files/14808974/setMemoryBM.txt)

Scott Gibbons has updated the pull request incrementally with one additional 
commit since the last revision:

  Use non-sse fill (old left in)

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18555/files
  - new: https://git.openjdk.org/jdk/pull/18555/files/401a2a96..c5cb30cc

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

  Stats: 795 lines in 2 files changed: 765 ins; 12 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/18555.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18555/head:pull/18555

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

Reply via email to