RFR: 8177845: Need a mechanism to load Graal
Doug Simon
doug.simon at oracle.com
Thu Apr 27 15:42:56 UTC 2017
> On 27 Apr 2017, at 17:40, Alan Bateman <Alan.Bateman at oracle.com> wrote:
>
> On 27/04/2017 15:47, Doug Simon wrote:
>
>> :
>>
>> - The jaotc launcher now needs to explicitly export JVMCI and jdk.internal.vm.compiler to jdk.aot[4].
>> Unfortunately there needs to be one --add-exports option per qualified export target as combining
>> them with a comma (e.g., --add-exports=jdk.internal.vm.ci/jdk.vm.ci.code=jdk.internal.vm.compiler,jdk.aot)
>> breaks the make process:
>>
>> Launcher-jdk.aot.gmk:31: *** missing separator. Stop.
>> make/Main.gmk:232: recipe for target 'jdk.aot-launchers' failed.
>>
> `--add-exports` is accumulative so what you have is okay.
Yes, it seems to work so I'm going to leave it as is.
> Alternatively the build has CommaList to convert space separated lists into comma separated lists so I would expect this should work:
>
> --add-exports=jdk.internal.vm.ci/jdk.vm.ci.amd64=$(call CommaList, jdk.internal.vm.compiler jdk.aot)
Thanks. Good to know in the future.
-Doug
More information about the hotspot-compiler-dev
mailing list