RFR: 8270865: Print process ID with -Xlog:os

Johan Sjölen jsjolen at openjdk.org
Tue Mar 14 12:12:50 UTC 2023


Adds logging of the process ID fairly early in the process (right after `HOTSPOT_VM_INIT_END();`) as a quality of life improvement.

Citing the ticket:

> It's useful to add the PID into a log file. For example, we can use it to find the corresponding hs_err_<pid>.log

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

Commit messages:
 - Log the PID of the initialized VM

Changes: https://git.openjdk.org/jdk/pull/13015/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13015&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8270865
  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13015.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/13015/head:pull/13015

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


More information about the hotspot-runtime-dev mailing list