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

Obsolete -XX:UseAdaptiveGCBoundary

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P2
    • Resolution: Approved
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      low
    • Compatibility Risk Description:
      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.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      JDK

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kbarrett Kim Barrett
                Reporter:
                tschatzl Thomas Schatzl
                Reviewed By:
                Thomas Schatzl
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: