Integrated: 8337995: ZUtils::fill uses std::fill_n

Kim Barrett kbarrett at openjdk.org
Thu Dec 12 14:42:42 UTC 2024


On Tue, 10 Dec 2024 16:37:43 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 22845a77
Author:    Kim Barrett <kbarrett at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/22845a77a2175202876d0029f75fa32271e07b91
Stats:     6 lines in 1 file changed: 2 ins; 2 del; 2 mod

8337995: ZUtils::fill uses std::fill_n

Reviewed-by: mli, stefank, jwaters, tschatzl

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

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


More information about the hotspot-gc-dev mailing list