Integrated: 8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTenuringThreshold
Guoxiong Li
gli at openjdk.org
Tue Dec 19 10:44:48 UTC 2023
On Sun, 17 Dec 2023 15:37:25 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
>
> This patch fixes several issues about heuristics.
>
> 1. Move `ZHeuristics::set_medium_page_size` to `ZArguments::initialize` so that the setting of `MaxTenuringThreshold` can use `ZPageSizeMedium` correctly.
> 2. Fix `ZHeuristics::use_per_cpu_shared_small_pages` to meet its comment.
> 3. Fix `ZHeuristics::significant_heap_overhead` and `ZHeuristics::significant_young_overhead` to use `ZFragmentationLimit` and `ZYoungCompactionLimit` as percentages instead of multiples.
>
> Thanks for the review.
>
> Best Regards,
> -- Guoxiong
This pull request has now been integrated.
Changeset: 0ad6c9e3
Author: Guoxiong Li <gli at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0ad6c9e3d91005c0cc3a26d5391444c3dcd8ba5d
Stats: 5 lines in 2 files changed: 3 ins; 2 del; 0 mod
8322255: Generational ZGC: ZPageSizeMedium should be set before MaxTenuringThreshold
Reviewed-by: tschatzl, eosterlund
-------------
PR: https://git.openjdk.org/jdk/pull/17137
More information about the hotspot-gc-dev
mailing list