RFR: 8203344: Make C1 leal patchable on SPARC

Erik Österlund erik.osterlund at oracle.com
Thu May 17 10:27:18 UTC 2018


Hi Nils,

Thank you for the review.

/Erik

On 2018-05-17 12:08, Nils Eliasson wrote:
> Looks good,
>
> Nils
>
>
> On 2018-05-17 10:38, Erik Österlund wrote:
>> Hi,
>>
>> In C1, address resolution of an accessed field is not always 
>> possible, because the offset of the class of the object being 
>> accessed, has not yet been loaded. In ZGC, we use lea to resolve the 
>> address of fields. Therefore, the lea instruction needs to be 
>> patchable for ZGC. This enhancement aims to add support for such 
>> patching on SPARC.
>>
>> Webrev:
>> http://cr.openjdk.java.net/~eosterlund/8203344/webrev.00/
>>
>> Bug:
>> https://bugs.openjdk.java.net/browse/JDK-8203344
>>
>> Thanks,
>> /Erik
>



More information about the hotspot-compiler-dev mailing list