RFR(m): 8220351: Cross-modifying code

Andrew Haley aph at redhat.com
Fri Mar 15 09:42:50 UTC 2019


On 3/15/19 1:16 AM, David Holmes wrote:
> I suppose that if the optimising results in the barrier locations being 
> pushed "deep enough" they may end up in platform-specific code after 
> all. But it's far from clear to me that we will always enter platform 
> specific code.

On AArch64 we do an ISB when returning from native to Java. I can't see
any code path which can execute patched Java code but does not do that.
That doesn't mean there isn't one, I guess.

-- 
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