RFR: 8330006: Serial: Extract out ContiguousSpace::block_start_const [v3]
Albert Mingkun Yang
ayang at openjdk.org
Wed Apr 10 14:15:13 UTC 2024
On Wed, 10 Apr 2024 14:09:34 GMT, Guoxiong Li <gli at openjdk.org> wrote:
>> Hi all,
>>
>> This patch moves the method `ContiguousSpace::block_start_const` to `DefNewGeneration` (note: not the parent class `Generation`) and moves the method `TenuredSpace::block_start_const` to `TenuredGeneration`. These two methods don't need the same signature so I don't add a virtual method to the parent class `Generation`.
>>
>> Thanks for taking the time to review.
>>
>> Best Regards,
>> -- Guoxiong
>
> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
>
> Restrict the scope of the method block_start_const to only its file.
> Such static method seems good.
Also the new api in the old-gen.
-------------
Marked as reviewed by ayang (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/18722#pullrequestreview-1991821509
More information about the hotspot-gc-dev
mailing list