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

Calvin Cheung ccheung at openjdk.org
Tue Mar 14 23:48:44 UTC 2023


On Tue, 14 Mar 2023 12:03:41 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> 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

Looks good.

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

Marked as reviewed by ccheung (Reviewer).

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


More information about the hotspot-runtime-dev mailing list