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

Vladimir Kozlov kvn at openjdk.java.net
Tue Apr 27 04:44:17 UTC 2021


> 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 pull request now contains 12 commits:

 - Merge branch 'master' into JDK-8264806
 - Merge branch 'JDK-8264805' into JDK-8264806
 - Merge branch 'master' into JDK-8264805
 - Restore Compiler::isGraalEnabled()
 - Restore Graal Builder image makefile
 - Merge latest changes from branch 'JDK-8264805' into JDK-8264806
 - Address review comments
 - 8264806: Remove the experimental JIT compiler
 - Remove exports from Graal module to jdk.aot
 - Merge branch 'master' into JDK-8264805
 - ... and 2 more: https://git.openjdk.java.net/jdk/compare/694acedf...b1e9ba63

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

Changes: https://git.openjdk.java.net/jdk/pull/3421/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3421&range=04
  Stats: 441532 lines in 2884 files changed: 0 ins; 441518 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3421.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3421/head:pull/3421

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


More information about the hotspot-compiler-dev mailing list