RFR: JDK-8323497: On x64, use 32-bit immediate moves for narrow klass base if possible [v3]
Thomas Stuefe
stuefe at openjdk.org
Wed Feb 21 13:59:55 UTC 2024
On Wed, 21 Feb 2024 13:46:20 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> Ah okay. But that's wrong, since for the optimize_for_zero_base case, we would search the low address regions twice.
>
> Why do you need to whole space to lie between 0 and 4G then, it seems you only want to have the base being < 4G, then the top of the klass space can be upto size + 4G
Ah, right, good catch.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17340#discussion_r1497607865
More information about the hotspot-dev
mailing list