RFR(XL) 8166417: Integrate Graal-core into JDK for AOT compiler
vladimir.kozlov at oracle.com
Thu Dec 8 22:49:46 UTC 2016
Thank you, Erik
It was accident - I forgot to replace ENABLE_AOT with INCLUDE_GRAAL.
But it is very good accident :) It showed that Tools.gmk is not needed
Removed and verified that combined AOT+Graal code is still built as before.
On 12/8/16 2:12 AM, Erik Joelsson wrote:
> The file hotspot/make/Tools.gmk is dead code at this point and should be
> removed. Also stop including it from Gensrc-jdk.vm.compiler.gmk.
> Otherwise it looks ok to me.
> On 2016-12-07 23:10, Vladimir Kozlov wrote:
>> It is part of JEP 295: Ahead-of-Time Compilation
>> This is formal review request for integration Graal-core sources into
>> OpenJDK. AOT compiler uses Graal-core as backend compiler. We need to
>> integrated Graal-core sources into JDK and add build changes to build
>> Graal module.
>> Note, changes are based on latest jdk9/hs sources which do not have
>> latest jigsaw update yet. With jigsaw update small changes will be
>> done to module-info.java.extra in java.base:
>> exports jdk.internal.misc to jdk.vm.compiler;
>> + opens jdk.internal.misc to jdk.vm.compiler;
>> - exports com.sun.crypto.provider to jdk.vm.compiler;
>> + opens com.sun.crypto.provider to jdk.vm.compiler;
>> And changes in top make/GensrcModuleInfo.gmk will not be needed.
>> Graal is a dynamic compiler written in Java that integrates with the
>> HotSpot JVM. It has a focus on high performance and extensibility. In
>> addition, it provides optimized performance for Truffle based
>> languages running on the JVM.
>> Oracle Labs is developing and maintaining it.
>> Here are people who contributed into Graal development (sorry if
>> someone is missing or misspelled, please speak):
>> ~70k LOC: Douglas Simon
>> ~60k LOC: Lukas Stadler
>> ~30k LOC: Thomas Wuerthinger
>> ~30k LOC: Tom Rodriguez
>> ~30k LOC: Roland Schatz
>> ~30k LOC: Josef Eisl
>> ~30k LOC: Christian Wimmer
>> ~16k LOC: Chris Thalinger
>> ~13k LOC: Gilles Duboscq
>> ~11k LOC: David Leopoldseder
>> ~ 8k LOC: Stefan Anzinger
>> ~ 8k LOC: Christian Humer
>> Other contributors >100 LOC in approximate order of contribution size:
>> Michael Berg, Bernhard Urban, Miguel Garcia, Yudi Zheng, Christos
>> Kotselidis, Andreas Woess, Stefan Rumzucker, Aleksandar Prokopec,
>> Christian Haeubl, Morris Meyer, Matthias Grimmer, Erik Eckstein, Josef
>> Haider, Manuel Rigger, Michael Haupt, Niclas Adlertz, Jaroslav Tulach,
>> Chris Seaton, Peter B. Kessler, Christian Wirth, Benoit Daloze.
More information about the build-dev