Integrated: 8257872: UL: -Xlog does not check number of options

Koichi Sakata ksakata at openjdk.java.net
Thu Dec 10 04:08:36 UTC 2020


On Tue, 8 Dec 2020 03:02:03 GMT, Koichi Sakata <ksakata at openjdk.org> wrote:

> In Unified Logging options can be specified up to four (`-Xlog[:[selections][:[output][:[decorators][:output-options]]]]`).
> But it’s possible to specify options with more colons like `java -Xlog:::::`.
> It’s better to show a message when more options are specified than maximum number.
> 
> By this PR a warning message is outputted when options are specified more than the max number.

This pull request has now been integrated.

Changeset: 34650f52
Author:    Koichi Sakata <ksakata at openjdk.org>
Committer: Yasumasa Suenaga <ysuenaga at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/34650f52
Stats:     5 lines in 1 file changed: 5 ins; 0 del; 0 mod

8257872: UL: -Xlog does not check number of options

Reviewed-by: dholmes, iklam, ysuenaga

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

PR: https://git.openjdk.java.net/jdk/pull/1685


More information about the hotspot-runtime-dev mailing list