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

Thomas Stuefe stuefe at openjdk.org
Wed May 22 09:44:10 UTC 2024


On Wed, 22 May 2024 07:13:39 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).

Windows test error unrelated.

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

PR Comment: https://git.openjdk.org/jdk/pull/19342#issuecomment-2124327595


More information about the hotspot-runtime-dev mailing list