RFR: 8337995: ZUtils::fill uses std::fill_n [v2]

Kim Barrett kbarrett at openjdk.org
Wed Dec 11 18:25:28 UTC 2024


> Please review this change to zUtils.cpp to use a for-loop to fill a block of
> memory rather than using the std::fill_n algorithm. Use of <algorithm> is
> currently not permitted in HotSpot.
> 
> Testing: mach5 tier1

Kim Barrett has updated the pull request incrementally with one additional commit since the last revision:

  stefank review

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22667/files
  - new: https://git.openjdk.org/jdk/pull/22667/files/cbfc9708..26cc6203

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

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

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


More information about the hotspot-gc-dev mailing list