RFR: 8151600: Syntax for -Xlog complicates shell scripts

Robbin Ehn robbin.ehn at oracle.com
Tue Sep 6 14:33:32 UTC 2016

Hi all, thanks for all input,

My intention was not to change the current syntax, only to add another way to write '*'.
I'll squash this patch since no one seemed to want it and Dmitry had objections.

If you really don't want '*' you need to pick up the boll!



Chris, in current patch you can write "-Xlog:gc+*" (not really intend)

On 08/30/2016 02:29 PM, Robbin Ehn wrote:
> Hi all,
> The current syntax for -Xlog uses '*' for wildcard matching of tags.
> In shell scripts where * is unintended expanded causes problems.
> This patch adds the possibility to use trailing '+' instead.
> E.g.
> "-Xlog:gc+" is thus equivalent to "-Xlog:gc*"
> Tested with modified gtest test.
> Webrev: http://cr.openjdk.java.net/~rehn/8151600/hotspot.01/webrev/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8151600
> Thanks!
> /Robbin

More information about the hotspot-dev mailing list