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


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).

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

Commit messages:
 - JDK-8332671-Logging-for-pretouching-thread-stacks-shows-wrong-memory-range

Changes: https://git.openjdk.org/jdk/pull/19342/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19342&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8332671
  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