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

Obsolete -XX:UseAdaptiveGCBoundary

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P2 P2
    • 15
    • hotspot
    • gc
    • behavioral
    • low
    • Hide
      Internet searches for mentions of the option found none discussing its use, only the usual lists of all the JVM options.
      Show
      Internet searches for mentions of the option found none discussing its use, only the usual lists of all the JVM options.
    • add/remove/modify command line option
    • JDK

      Summary

      Obsolete the VM product option UseAdaptiveGCBoundary.

      Problem

      This feature has had a long bug tail of crashes and performance regressions; it is not clear that it has ever fully worked. The most recent attempt to enable it by default appears to have occurred in 2005, and was soon reverted. Recent retesting was able to provoke crashes with JDK 9, 11, 12, 13, and 14. The most recent associated bug (JDK-8228991) was deferred from JDK 13 and again from JDK 14. The Oracle GC team doesn't consider it a priority to (attempt to) fix this feature.

      Solution

      Obsolete the option and remove the feature implementation.

      Because the feature controlled by this option

      • appears to have never worked reliably (see linked related bugs), despite repeated attempts,
      • has been disabled by default for a long time (since before Mercurial), and
      • doesn't show up as being mentioned as useful in internet searches,
      • fixing the feature is not considered a priority,

      immediately obsoleting the option is preferred to having an initial deprecation period.

      Specification

      Use of -XX:+/-UseAdaptiveGCBoundary will no longer enable or disable the feature. Instead, using this option will print the usual obsolete option warning.

            kbarrett Kim Barrett
            tschatzl Thomas Schatzl
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: