RFR: 8330003: Serial: Move the logic of FastEvacuateFollowersClosure to SerialHeap

Albert Mingkun Yang ayang at openjdk.org
Wed Apr 10 14:08:10 UTC 2024


On Wed, 10 Apr 2024 13:55:41 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

src/hotspot/share/gc/serial/serialHeap.cpp line 768:

> 766:                                      OldGenScanClosure* old_cl) {
> 767:   do {
> 768:     oop_since_save_marks_iterate(young_cl, old_cl);

This method can probably be inlined; I don't see any other usages.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18725#discussion_r1559508328


More information about the hotspot-gc-dev mailing list