RFR: JDK-8312018: Improve reservation of class space and CDS [v4]
Thomas Stuefe
stuefe at openjdk.org
Tue Aug 15 05:48:08 UTC 2023
On Tue, 15 Aug 2023 04:19:48 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> I fixed the comment and made it hopefully much clearer
>
> It's unclear which part of the implementation `(MAX2(os::vm_allocation_granularity(), 16 * M))` is "Determined by sysctl vm.mmap_min_addr`.
>
> Do you mean:
>
> - On Linux the lower limit is usually 64KB. While it can be configured via `sysctl vm.mmap_min_addr`, that's rarely done.
> - We picked a 16MB minimum just to be safe.
Exactly.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15041#discussion_r1294198737
More information about the hotspot-runtime-dev
mailing list