The code in ReservedSpace::initialize(...) and ReservedHeapSpace::try_reserve_heap(...) is very similar and more or less does the same things. The difference between them is logging and how errors are handled.
The code could be unified to make it easier to do changes to the reservation code without having to change two places.
This change is a step towardsJDK-8261527.
The code could be unified to make it easier to do changes to the reservation code without having to change two places.
This change is a step towards
- relates to
-
JDK-8244189 Remove second argument in the two-arg ReservedSpace constructor
-
- Open
-
-
JDK-8261527 Record page size used for underlying mapping in ReservedSpace
-
- Resolved
-