RFR: 8330003: Serial: Move the logic of FastEvacuateFollowersClosure to SerialHeap [v2]

Guoxiong Li gli at openjdk.org
Wed Apr 10 15:17:11 UTC 2024


On Wed, 10 Apr 2024 14:17:23 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> Hi all,
>> 
>> This patch moves the content of `FastEvacuateFollowersClosure::do_void` to `SerialHeap::scan_evacuated_objs`.
>> 
>> 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:
> 
>   Mark two methods as inline.

@albertnetymk I find that such simple movement will make the template methods can't be specialized, because the compiler can't get the complete content of the class `YoungGenScanClosure`. I try to change the `DefNewGeneration::oop_since_save_marks_iterate` and `TenuredGeneration::oop_since_save_marks_iterate` to `non-template-method`. But it also failed locally.

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

PR Comment: https://git.openjdk.org/jdk/pull/18725#issuecomment-2047828277


More information about the hotspot-gc-dev mailing list