RFR: 8270801: Print VM arguments with java -Xlog:arguments
Ioi Lam
iklam at openjdk.java.net
Fri Jul 16 20:18:49 UTC 2021
On Fri, 16 Jul 2021 07:57:26 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:
> Side note, I wish we had a similar option to print the pid (and not much else). In our proprietary port, we have a -XshowPid, which I use surprisingly often, even in scripts.
We have a few choices:
- `-Xlog:pid` : but this seems too limited to introduce a new log tag
- `-Xlog:identifyprocess`: print all relevant info that helps identifying the process. This would include both the arguments, the pid, and perhaps some other info as well (owner id, etc??).
If the second makes sense, we should think of a good tag name :-) I will hold the integration of the current PR for now.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4801
More information about the hotspot-runtime-dev
mailing list