RFR: JDK-8312018: Improve reservation of class space and CDS [v4]
Ioi Lam
iklam at openjdk.org
Mon Aug 28 15:44:12 UTC 2023
On Tue, 15 Aug 2023 04:20:17 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fix windows
>
> I think the API looks OK. I need to spend more time looking at the algorithm itself.
> @iklam is there anything missing from your point of view?
I just realized this -- for the above 32GB allocations, do we need to use the new algorithm for all platforms? As far as I know, only aarch64 and ppc64 need it because they want to use a single "load immediate" instruction.
For the other CPUs, we can just ask the OS. That will be faster, always succeed, and be at the "right" location as decided by the OS.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15041#issuecomment-1695920038
More information about the hotspot-runtime-dev
mailing list