[10] RFR(S) 8181823: [AOT] jaotc doesn't work with Graal

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Jun 21 06:35:52 UTC 2017


Thank you, Ioi

Vladimir

On 6/20/17 10:39 PM, Ioi Lam wrote:
> Looks good to me.
> 
> Thanks
> 
> - Ioi
> 
> 
> On 6/20/17 7:29 PM, Vladimir Kozlov wrote:
>> https://bugs.openjdk.java.net/browse/JDK-8181823
>> webrev:  http://cr.openjdk.java.net/~kvn/8181823
>>
>> Original condition to calculate class fingerprint during AOT compilation (when run jaotc) does not work if Graal used 
>> as JIT compiler.
>> New product flag CalculateClassFingerprint is added to specify when calculate class fingerprint. Pass it to VM from 
>> jaotc launcher.
>>
>>
>> Fixes in Graal's module-info.java and java.cpp were done to be able run JTREG with Graal in jdk10/hs. Otherwise I got 
>> missing HandleMark error and ServiceConfigurationError:
>>   java.util.ServiceConfigurationError: org.graalvm.compiler.hotspot.HotSpotCodeCacheListener: module 
>> jdk.internal.vm.compiler does not declare `uses`
>>
>> Thanks,
>> Vladimir
> 


More information about the hotspot-compiler-dev mailing list