RFR: 8256718: Obsolete the long term deprecated and aliased Trace flags
David Holmes
dholmes at openjdk.java.net
Tue Dec 1 01:18:54 UTC 2020
On Mon, 30 Nov 2020 21:13:05 GMT, Harold Seigel <hseigel at openjdk.org> wrote:
> Please review this change to obsolete the deprecated and aliased Trace flags. The now empty aliased_logging_flags support was left in arguments.cpp for use by trace flags that get deprecated and aliased in the future.
>
> With this change, users will get the following example messages when using these obsolete flags, depending on whether -XX:+... or -XX:-... was specified:
>
> VM warning: Ignoring option TraceClassPaths; support was removed in 16.0. Please use -Xlog:class+path=info instead.
>
> VM warning: Ignoring option TraceClassPaths; support was removed in 16.0. Please use -Xlog:class+path=off instead.
>
> The change was tested with tiers1and 2 on Linux, Windows, and MacOS, and tiers 3-5 on Linux x64 and with JCK lang and vm tests.
>
> Thanks, Harold
Hi Harold,
I don't think we need to add all this new infrastructure for obsolete-aliased flags just so we can continue to print the -Xlog equivalents. I think simply adding these previously aliased flags as obsolete flags in the special flags table would suffice.
Thanks,
David
-------------
PR: https://git.openjdk.java.net/jdk/pull/1525
More information about the hotspot-dev
mailing list