Re: RFR: heapbase register can be allocated in compressed mode

Kuai Wei kuaiwei.kw at alibaba-inc.com
Mon Apr 13 01:32:45 UTC 2020


Ok, I will keep the origin change.

I can not push to tip branch. Can you help me to push it ? Or do we need other reivew?

Thanks,
Kuai Wei






------------------------------------------------------------------
From:Andrew Haley <aph at redhat.com>
Send Time:2020年4月10日(星期五) 20:19
To:蒯微(麦庶) <kuaiwei.kw at alibaba-inc.com>; hotspot compiler <hotspot-compiler-dev at openjdk.java.net>
Subject:Re: RFR: heapbase register can be allocated in compressed mode

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