RFD: HotSpot CONSTANT_REGISTER_DECLARATION and extern const

Andrew Haley aph at redhat.com
Mon Jun 21 17:10:58 UTC 2021


On 6/21/21 5:56 PM, Andrew Haley wrote:
> Every reference to r0 has
> to do a load from the slot in memory that contains the constant r0,
> and what's worse all of those loads have to go via the PLT.

Sorry, not the PLT, the GOT.

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