RFR: 8332671: Logging for pretouching thread stacks shows wrong memory range [v3]

Aleksey Shipilev shade at openjdk.org
Thu May 23 15:46:03 UTC 2024


On Thu, 23 May 2024 12:19:26 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> Trivial fix to a printout.
>> 
>> Before, looks like we only pretouch 32 bytes:
>> 
>> 
>> [2,417s][trace][os,thread] Pretouching thread stack from 0x00007f0f12640fe0 to 0x00007f0f12641000.          
>> 
>> 
>> Corrected with this patch:
>> 
>> 
>> [0,538s][trace][os,thread] Pretouching thread stack for 124618: [0x00007faa87f1afe0 - 0x00007faa87ffed90), (933296 bytes) (933296).
>
> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update javaThread.cpp

Marked as reviewed by shade (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/19342#pullrequestreview-2074368924


More information about the hotspot-runtime-dev mailing list