RFR(S) 8245505: Prelink j.l.ref.Reference when loading AOT library
Vladimir Kozlov
vladimir.kozlov at oracle.com
Thu May 28 17:08:46 UTC 2020
+1 on AOT changes.
Thanks,
Vladimir
On 5/27/20 3:46 PM, Dean Long wrote:
> Looks OK to me.
>
> dl
>
> On 5/27/20 2:57 PM, Igor Veresov wrote:
>> This change addresses a problem in AOT with the class reference (to j.l.ref.Reference) being introduced too late
>> (during GC barrier expansion). The solution is twofold. The first part is to run the constant replacement phase after
>> the barrier expansion and replace it with an indirect load. The replacement phase is run in a new mode that does
>> replacement only for known classes that are pre-linked by the runtime during the library load. We can’t do replacement
>> with side effects at that point. The second part is the change in the runtime to do the said pre-linking.
>>
>> Webrev: http://cr.openjdk.java.net/~iveresov/8245505/webrev.00/ <http://cr.openjdk.java.net/~iveresov/8245505/webrev.00/>
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8245505
>>
>> Thanks,
>> igor
>>
>>
>>
>>
>
More information about the hotspot-compiler-dev
mailing list