[13] RFR(L) 8220623: [JVMCI] Update JVMCI to support JVMCI based Compiler compiled into shared library

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Mar 28 19:15:31 UTC 2019


Update JVMCI to support pre-compiled as shared library Graal.
Using aoted Graal can offers benefits including:
  - fast startup
  - compile time similar to native JIt compilers (C2)
  - memory usage disjoint from the application Java heap
  - no profile pollution of JDK code used by the application

This is JDK13 port of JVMCI changes done in graal-jvmci-8 [1] up to date.
Changes were collected in Metropolis repo [2] and tested there.

Changes we reviewed by Oracle Labs (authors of JVMCI and Graal) and our compiler group.
Changes in shared code are guarded by #if INCLUDE_JVMCI and JVMCI flags.

I ran tier1-tier8 (which includes HotSpot and JDK tests) and it was clean. In this set Graal was 
tested only in tier3.

And I ran all hs-tier3-graal .. hs-tier8-graal Graal tests available in our system. Several issue 
were found which were present before these changes.


[1] https://github.com/graalvm/graal-jvmci-8/commit/49ff2045fb603e35516a3a427d8023c00e1607af
[2] http://hg.openjdk.java.net/metropolis/dev/

More information about the hotspot-dev mailing list