RFR: 8256718: Obsolete the long term deprecated and aliased Trace flags

Harold Seigel hseigel at openjdk.java.net
Mon Nov 30 21:20:06 UTC 2020


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

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

Commit messages:
 - 8256718: Obsolete the long term deprecated and aliased Trace flags

Changes: https://git.openjdk.java.net/jdk/pull/1525/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1525&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256718
  Stats: 190 lines in 22 files changed: 51 ins; 112 del; 27 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1525.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1525/head:pull/1525

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


More information about the serviceability-dev mailing list