RFR: 8345661: Simplify page size alignment in code heap reservation
Stefan Karlsson
stefank at openjdk.org
Wed Dec 11 12:24:47 UTC 2024
On Fri, 6 Dec 2024 11:03:34 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> While working on a prototype to clean up ReservedSpace ([JDK-8345655](https://bugs.openjdk.org/browse/JDK-8345655)) I noticed that the code that reserves the code heap first aligns the committed memory size towards small pages and then aligns it against the page size that was set up for the ReservedSpace. I suggest that just align to the latter immediately.
>
> I also inlined the one usage of `os::vm_allocation_granularity`.
>
> Testing tier1-3
Thanks for the reviews!
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22604#issuecomment-2535841462
More information about the hotspot-dev
mailing list