--- old/src/hotspot/share/gc/serial/tenuredGeneration.inline.hpp 2020-08-25 10:54:38.343803719 +0200 +++ new/src/hotspot/share/gc/serial/tenuredGeneration.inline.hpp 2020-08-25 10:54:37.831795093 +0200 @@ -55,9 +55,8 @@ template void TenuredGeneration::oop_since_save_marks_iterate(OopClosureType* blk) { - blk->set_generation(this); _the_space->oop_since_save_marks_iterate(blk); - blk->reset_generation(); + save_marks(); }