RFR: heapbase register can be allocated in compressed mode

Andrew Haley aph at redhat.com
Fri Apr 10 12:19:01 UTC 2020


On 4/10/20 5:16 AM, Kuai Wei wrote:

>   As you pointed out, some stubs are generated before universe fully
> initialized and they will reset r27 in reinit_heap.  My initial
> think is they are not the problem.  Interpreters can be safe because
> they are initialized after heap. I can change them not to dependent
> on fully_initialized flag.

Please don't change that; there's no need. Loading r27 unnecessarily
in these places does no harm.

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



More information about the hotspot-compiler-dev mailing list