RFR: 8255616: Disable AOT and Graal in Oracle OpenJDK

Ekaterina Pavlova epavlova at openjdk.java.net
Fri Oct 30 18:03:54 UTC 2020


On Fri, 30 Oct 2020 17:52:09 GMT, Igor Ignatyev <iignatyev at openjdk.org> wrote:

>> 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 disable these features in 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. But we will not update or test them.
>> 
>> We'll continue to build and ship JVMCI as an experimental feature in Oracle builds.
>> 
>> Tested changes in all tiers.
>> 
>> I verified that with these changes I still 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`
>
> LGTM

Looks good.

-------------

PR: https://git.openjdk.java.net/jdk/pull/960



More information about the build-dev mailing list