Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279629

ExtendedDTraceProbes should be deprecated

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 19
    • hotspot
    • None
    • behavioral
    • low
    • While the flag may be in use, it can easily be replaced with the 3 flags it is currently an alias for.
    • add/remove/modify command line option
    • JDK

      Summary

      The flag ExtendedDTraceProbes (HotSpot JVM command line flag) is to be deprecated, since it is only an alias to set DTraceMethodProbes, DTraceAllocProbes and DTraceMonitorProbes. It has no independent function.

      We estimate that the flag is only rarely used (debugging with dtrace).

      Other than the ExtendedDTraceProbes HotSpot JVM command line flag, no interface is to be adjusted.

      Problem

      The flag ExtendedDTraceProbes is unnecessary, because it is only an alias for a combination of other flags that can be set independently.

      Solution

      • Deprecate ExtendedDTraceProbes in JDK 19.
      • Obsolete it in JDK 20 and expire it in JDK 21.

      Specification

      The following flag is made deprecated in JDK 19: ExtendedDTraceProbes

            epeter Emanuel Peter
            epeter Emanuel Peter
            Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: