RFR: 8264806: Remove the experimental JIT compiler [v2]

Erik Joelsson erikj at openjdk.java.net
Mon Apr 12 16:21:50 UTC 2021

On Fri, 9 Apr 2021 22:26:40 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> As part of [JEP 410](http://openjdk.java.net/jeps/410) remove code related to Java-based JIT compiler (Graal) from JDK:
>> - `jdk.internal.vm.compiler` — the Graal compiler 
>> - `jdk.internal.vm.compiler.management` — Graal's `MBean`
>> - `test/hotspot/jtreg/compiler/graalunit` — Graal's unit tests
>> Remove Graal related code in makefiles.
>> Note, next two `module-info.java` files are preserved so that the JVMCI module `jdk.internal.vm.ci` continues to build:
>> src/jdk.internal.vm.compiler/share/classes/module-info.java
>> src/jdk.internal.vm.compiler.management/share/classes/module-info.java
>> @AlanBateman suggested that we can avoid it by using Module API to export packages at runtime . It requires changes in GraalVM's JVMCI too so I will file followup RFE to implement it.
>> Tested hs-tier1-4
> Vladimir Kozlov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>  - Restore Graal Builder image makefile
>  - Merge latest changes from branch 'JDK-8264805' into JDK-8264806
>  - 8264806: Remove the experimental JIT compiler

make/common/Modules.gmk line 68:

> 66: 
> 67: # Filter out Graal specific modules
> 68: MODULES_FILTER += jdk.internal.vm.compiler

If we are unconditionally filtering out these modules, then why leave the module-info.java files in at all?


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

More information about the hotspot-compiler-dev mailing list