RFR: 8280235: Deprecated flag FlightRecorder missing from VMDeprecatedOptions test

KIRIYAMA Takuya duke at openjdk.java.net
Fri Jun 10 10:30:24 UTC 2022


I would like to fix 8280235: Deprecated flag FlightRecorder missing from VMDeprecatedOptions test. 

FlightRecorder option has not been tested since JDK13.
I think we should test it, because FlightRecorder option has not been obsolete in the latest JDK.
Users would be in trouble if the option suddenly disappears without notice, 
so it's important to confirm the deprication message.

Also we should add a test of ExtendedDTraceProbes option.
The test was disabled in 8281675, because some jdk can't specify it.
I modified the test to be able to verify  ExtendedDTraceProbes in either case that DTRACE_ENABLED is enabled or not.

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

Commit messages:
 - 8280235: Deprecated flag FlightRecorder missing from VMDeprecatedOptions test

Changes: https://git.openjdk.org/jdk/pull/9123/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=9123&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8280235
  Stats: 21 lines in 1 file changed: 21 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/9123.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9123/head:pull/9123

PR: https://git.openjdk.org/jdk/pull/9123


More information about the hotspot-runtime-dev mailing list