RFR: 8151600: Syntax for -Xlog complicates shell scripts
mikael.gerdin at oracle.com
Wed Sep 7 08:22:36 UTC 2016
On 2016-09-06 16:33, Robbin Ehn wrote:
> 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
FWIW I still think it would be useful to have the suggested "+" alias
for "*" to avoid having to mess around with shell wildcard problems.
> 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.
>> "-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
More information about the hotspot-dev