RFR: 8265064: Move clearing and setting of members into helpers in ReservedSpace [v2]
Thomas Schatzl
tschatzl at openjdk.java.net
Tue Apr 13 07:51:59 UTC 2021
On Tue, 13 Apr 2021 07:13:25 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
>> Currently there are a few places in `ReservedSpace` that updates a set of members directly during initialization. This could be refactored into helper functions to improve readability and also to pave way for some further cleanups.
>>
>> This is one of a few cleanups I plan to do to enable a clean implementation of:
>> [JDK-8261527: Record page size used for underlying mapping in ReservedSpace](https://bugs.openjdk.java.net/browse/JDK-8261527)
>>
>> **Testing**
>> Mach5 tier1 and tier2.
>
> Stefan Johansson has updated the pull request incrementally with one additional commit since the last revision:
>
> Thomas review.
>
> Using initialize_members() in clear_members().
Lgtm.
-------------
Marked as reviewed by tschatzl (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/3435
More information about the hotspot-dev
mailing list