RFR(m): 8220351: Cross-modifying code

Doerr, Martin martin.doerr at sap.com
Wed Mar 13 09:30:12 UTC 2019


Hi Andrew,

> I'm pretty sure that AArch64 uses oops in the instruction stream.
Yes, as compressed oops. (See my previous statement "But all platforms have compressed Oops encoded: loadConN nodes in ad files.".)

Best regards,
Martin


-----Original Message-----
From: Andrew Haley <aph at redhat.com> 
Sent: Mittwoch, 13. März 2019 10:10
To: Doerr, Martin <martin.doerr at sap.com>; Robbin Ehn <robbin.ehn at oracle.com>; hotspot-dev at openjdk.java.net
Subject: Re: RFR(m): 8220351: Cross-modifying code

On 3/11/19 5:43 PM, Doerr, Martin wrote:
> Hi Robbin,
> 
>> They are only changed during a GC safepoint on archs with 
>> mustIterateImmediateOopsInCode set to true, AFAIK.
> 
> Only x86 uses Oops directly encoded into the instruction stream.

I'm pretty sure that AArch64 uses oops in the instruction stream.

-- 
Andrew Haley
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671


More information about the hotspot-dev mailing list