Integrated: 8345656: Move os alignment functions out of ReservedSpace

Stefan Karlsson stefank at openjdk.org
Wed Dec 11 11:55:43 UTC 2024


On Fri, 6 Dec 2024 09:58:48 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> I have a wish to simplify the ReservedSpace classes (See: [JDK-8345655](https://bugs.openjdk.org/browse/JDK-8345655)) and as a small step I would like to move the small helper functions that align addresses and sizes to `os::vm_page_size()` and `os::vm_allocation_granularity()` out to be `os::` helpers.
> 
> Tested tier1-3 together with the other patches in the JDK-8345655 prototype.

This pull request has now been integrated.

Changeset: 076bfa68
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/076bfa688c8ee19fa5eea1d18cfa84a3504af762
Stats:     79 lines in 14 files changed: 29 ins; 33 del; 17 mod

8345656: Move os alignment functions out of ReservedSpace

Reviewed-by: dholmes

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

PR: https://git.openjdk.org/jdk/pull/22600


More information about the shenandoah-dev mailing list