RFR(S): 8193927: Optimize scanning code for oops.

Andrew Haley aph at redhat.com
Tue Jan 2 13:39:02 UTC 2018


On 02/01/18 10:48, Doerr, Martin wrote:

> If I understand it correctly, only usages of
> oop_Relocation::spec_for_immediate() need it which uses oop_index =
> 0. Other oop_Relocations use the CodeBlob's oop pool and the oops
> will be found there by iterating over
> "oop* p = oops_begin(); p < oops_end(); p++".

Ah, OK.  We don't use oop_Relocation::spec_for_immediate(), so you're
right, this is x86 only.

-- 
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-compiler-dev mailing list