Integrated: 8254972: Fix pretouch chunk calculations

Thomas Schatzl tschatzl at openjdk.java.net
Fri Oct 30 08:47:49 UTC 2020


On Tue, 27 Oct 2020 15:49:30 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

> Hi all,
> 
>   can I have reviews for this follow-up to JDK-8252221 where Kim noticed that the code in the pretouch task has some minor issues?
> 
> In particular, some code could be simplified and due to some inconsistencies, and used less than ideal number of workers. There is also a fix to avoid an overflow if you want to pretouch >= 16TB of heap with 4k pages (order of casts in calculation of ``num_workers``).
> 
> Testing: tier1
> 
> Thanks,
>   Thomas

This pull request has now been integrated.

Changeset: 2c7fc85b
Author:    Thomas Schatzl <tschatzl at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/2c7fc85b
Stats:     32 lines in 2 files changed: 17 ins; 2 del; 13 mod

8254972: Fix pretouch chunk calculations

Reviewed-by: sjohanss, kbarrett

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

PR: https://git.openjdk.java.net/jdk/pull/884



More information about the hotspot-gc-dev mailing list