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

Obsolete the long term deprecated and aliased Trace flags

    XMLWordPrintable

Details

    • CSR
    • Resolution: Approved
    • P4
    • 16
    • hotspot
    • None
    • behavioral
    • low
    • These trace flags are primarily used for debugging purposes.
    • add/remove/modify command line option
    • JDK

    Description

      Summary

      The following trace flags were deprecated in previous releases and should be obsolesced in JDK-16. Users can get the same tracing information that was provided by these flags by using unified logging flags.

      Trace flags deprecated in JDK-9:

      • TraceExceptions
      • TraceClassLoading
      • TraceClassLoadingPreorder
      • TraceClassUnloading
      • TraceClassPaths
      • TraceClassResolution
      • TraceLoaderConstraints
      • TraceSafepointCleanupTime
      • TraceBiasedLocking
      • TraceMonitorInflation
      • TraceRedefineClasses
      • TraceJVMTIObjectTagging

      Trace flag PrintSharedSpaces was deprecated in JDK-10, PrintJNIResolving in JDK-14, and TraceInvokeDynamic and TraceMethodHandles in JDK-15.

      Problem

      JVM trace flags that were deprecated in previous releases should be obsolesced in JDK-16.

      Solution

      By obsoleting these flags, the JVM will no longer translate the flags into their unified logging alternative. Instead, the JVM will ignore these flags.

      Specification

      The descriptions of the above flags will be moved from the Deprecated Java Options section of the Java man page to the Obsolete Java Options section.

      Attachments

        Issue Links

          Activity

            People

              hseigel Harold Seigel (Inactive)
              dholmes David Holmes
              Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: