RFR: JDK-8318119: Invalid narrow Klass base on aarch64 post 8312018

Andrew Haley aph at openjdk.org
Fri Nov 3 16:29:05 UTC 2023


On Fri, 3 Nov 2023 15:08:12 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

>> src/hotspot/share/oops/compressedKlass.cpp line 105:
>> 
>>> 103:   //  the range starts at the specified encoding base and its size will not be
>>> 104:   //  larger than 4GB).
>>> 105:   return is_aligned(p, 4 * G);
>> 
>> Does this mean that the class metadata might be late than 4 Gbyte?
>
> Sorry, I don't understand this question.

Argh, typo. Does this mean that the class metadata might be more than 4G in size? Is that the risk?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16215#discussion_r1381949326


More information about the hotspot-runtime-dev mailing list