JDK-8227833 : Turn off AOT by default
  • Type: CSR
  • Component: hotspot
  • Sub-Component: compiler
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 14
  • Submitted: 2019-07-17
  • Updated: 2019-11-05
  • Resolved: 2019-07-18
Related Reports
CSR :  
Relates :  
Relates :  
Description
Summary
-------
Turn off AOT by default and make related flags experimental to reflect that JEP 295 AOT is still experimental.


Problem
-------

The AOT feature is experimental, which implies it should not have any impact for users not interested in or unaware of the same.
At present the related command line options `UseAOT`, `AOTLibrary`, and `PrintAOT` are product flags and `UseAOT` is enabled by default, which leads it can have a performance impact.

Solution
--------
- Change the related flags `UseAOT`, `PrintAOT`, and `AOTLibrary` to experimental type.
- Turn off `UseAOT` by default.

Specification
-------------
The following flags are made experimental in JDK 14: `UseAOT`, `PrintAOT`, and `AOTLibrary`. Default value of `UseAOT` is changed from enabled to disabled.
Comments
Thank you Joe [~darcy]
19-07-2019

Corrected text of the CSR to consistently list the affected flags. Moving to Approved contingent on a release note being written for the change.
18-07-2019

Thanks Claes, Vladimir [~redestad], [~kvn]. Moving to Finalized.
18-07-2019

reviewed
17-07-2019

I took the liberty to do some edits to conform with what I think is expected of a CSR. Reviewed.
17-07-2019

HI [~kvn], [~redestad], please review this draft CSR. Can this be moved to 'Finalized' for final review?
17-07-2019