JDK-8199847 : Release Note: Deprecate -XX:+AggressiveOpts
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11
  • Priority: P4
  • Status: Closed
  • Resolution: Delivered
  • Submitted: 2018-03-20
  • Updated: 2018-10-18
  • Resolved: 2018-03-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11
11Resolved
Description
The VM option `-XX:+AggressiveOpts` is deprecated in JDK 11 and will be removed in a future release. The option was originally supposed to enable experimental optimizations of the C2 compiler to improve performance of specific benchmarks. Most features have been removed or integrated over time leaving the behavior of the option ill-defined and error-prone. The only effect that the flag currently has is setting `AutoBoxCacheMax` to 20000 and `BiasedLockingStartupDelay` to 500. The same configuration can be achieved by setting their corresponding flags from the command line. Therefore, `-XX:+AggressiveOpts` will no longer be available in a future release.