Integrated: 8342610: ZGC: Cleanup pre-touching code
Stefan Karlsson
stefank at openjdk.org
Tue Oct 22 13:18:34 UTC 2024
On Mon, 21 Oct 2024 08:15:16 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> There's a few things that we'd like to cleanup around the pre-touching code.
> * Remove the dependency to ZPhysicalMemoryManager - cleans up the call site
> * Remove unimplemented function pretouch_view (and its friends)
> * Change type from zoffset for the iteration variable - multiple threads update it and it is not guaranteed to stay below the required ZAddressOffsetMax. I can trigger an assert here if I change the code to prime_cache in the higher address range instead of the lower and setting a max heap size that matches ZAddressOffsetMax.
This pull request has now been integrated.
Changeset: 264d7014
Author: Stefan Karlsson <stefank at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/264d7014a11b113d309dde2301ea23d6eba71f57
Stats: 39 lines in 3 files changed: 13 ins; 14 del; 12 mod
8342610: ZGC: Cleanup pre-touching code
Reviewed-by: aboldtch, mli, jsikstro, eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/21600
More information about the hotspot-gc-dev
mailing list