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

Remove -XX:+AggressiveOpts

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 12
    • 9, 10, 11, 12
    • hotspot
    • b17
    • generic
    • generic

    Description

      -XX:+AggressiveOpts has been used as a catch-all method of enabling various experimental performance features, mostly targetted to improve score on very specific benchmarks. Most things it affected has been removed or integrated over time, e.g., JDK-8024826, leaving the behavior of the flag ill-defined and prone to cause more issues than it'll solve.

      I suggest removing the flag altogether, possibly in a staggered fashion similar to MaxPermSize where it will produce a warning message in JDK X and then refuse to run in JDK X+1.

      Attachments

        Issue Links

          Activity

            People

              thartmann Tobias Hartmann
              redestad Claes Redestad
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: