[jdk16] RFR: 8259380: Correct pretouch chunk size to cap with actual page size [v3]

Patrick Zhang qpzhang at openjdk.java.net
Tue Jan 12 02:39:13 UTC 2021


On Mon, 11 Jan 2021 16:10:08 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:

>> Patrick Zhang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8259380: Remove the trailing whitespace
>
> src/hotspot/share/gc/shared/pretouchTask.cpp line 68:
> 
>> 66:                             size_t page_size, WorkGang* pretouch_gang) {
>> 67:   // Chunk size should be at least (unmodified) page size as using multiple threads
>> 68:   // pretouch on a single chunk can decrease performance.
> 
> it should actually read "... pretouch on a single page can ..." not chunk :( Sorry, my fault.

fixed

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

PR: https://git.openjdk.java.net/jdk16/pull/97



More information about the hotspot-gc-dev mailing list