RFR(m): 8220351: Cross-modifying code

Robbin Ehn robbin.ehn at oracle.com
Wed Mar 13 19:29:44 UTC 2019


Hi,

On 2019-03-13 18:56, Doerr, Martin wrote:
> Hi everybody,
> 
> while discussing with a colleague the following question about the patch site on x86 came up:
> 
> nmethod::oops_do calls the closure f->do_oop(r->oop_addr()) for oops encoded into the instruction stream.
> I couldn't find a call to AbstractICache::invalidate_range.

Look for ICache::invalidate_range, I see 11 calls on x64.
And one call to AbstractICache/ICache::invalidate_word.
Btw I have spent some time looking at x86/icache_x86.cpp...
But that is whole new subject and let's keep that separate from this :)

I'll create issues for some of these topics, which if nothing else should be 
discussed.

/Robbin

> 
> Does anybody know where it is or if it's missing?
> 
> Best regards,
> Martin
> 


More information about the hotspot-dev mailing list