JDK-8255616 : Removal of experimental features AOT and Graal JIT
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-10-29
  • Updated: 2021-04-07
  • Resolved: 2020-11-02
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 16
16 b23Fixed
Related Reports
Relates :  
Relates :  
Sub Tasks
JDK-8255623 :  
We shipped Ahead-of-Time compilation (the jaotc tool) in JDK 9, as an
experimental feature. We shipped Graal as an experimental JIT compiler
in JDK 10. We haven't seen much use of these features, and the effort
required to support and enhance them is significant.  We therefore
intend to remove these features from Oracle builds as of JDK 16.

We'll leave the sources for these features in the repository, in case
any one else is interested in building them.  We'll continue to build
and ship JVMCI as an experimental feature in Oracle builds.
Changeset: 2f7d34f2 Author: Vladimir Kozlov <kvn@openjdk.org> Date: 2020-11-02 16:04:46 +0000 URL: https://github.com/openjdk/jdk/commit/2f7d34f2

I verified that with these changes I was able to build Graal in open repo and run graalunit testing: open$ bash test/hotspot/jtreg/compiler/graalunit/downloadLibs.sh /mydir/graalunit_lib/ open$ bash configure --with-debug-level=fastdebug --with-graalunit-lib=/mydir/graalunit_lib/ --with-jtreg=/mydir/jtreg open$ make jdk-image open$ make test-image open$ make run-test TEST=compiler/graalunit/HotspotTest.java ============================== TEST TOTAL PASS FAIL ERROR jtreg:test/hotspot/jtreg/compiler/graalunit/HotspotTest.java 1 1 0 0 ============================== TEST SUCCESS