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

Thomas Stuefe stuefe at openjdk.org
Thu May 23 12:19:26 UTC 2024


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19342/files
  - new: https://git.openjdk.org/jdk/pull/19342/files/2d7f7ff0..05905ae0

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19342&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19342&range=01-02

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/19342.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19342/head:pull/19342

PR: https://git.openjdk.org/jdk/pull/19342


More information about the hotspot-runtime-dev mailing list