RFR: 8330154: Serial: Remove TenuredSpace::update_for_block [v2]

Thomas Schatzl tschatzl at openjdk.org
Mon Apr 22 09:39:31 UTC 2024


On Fri, 12 Apr 2024 14:50:51 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Simple move an API from space to old-gen, in preparation for complete encapsulation of BOT inside old-gen.
>
> Albert Mingkun Yang has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
> 
>   s1-remove-space-bot

Marked as reviewed by tschatzl (Reviewer).

src/hotspot/share/gc/serial/serialFullGC.cpp line 287:

> 285:     }
> 286:     _index = 0;
> 287:     _old_gen = heap->old_gen();

This and the above initialization could be moved to the initializer list which is preferred.

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

PR Review: https://git.openjdk.org/jdk/pull/18752#pullrequestreview-2014251758
PR Review Comment: https://git.openjdk.org/jdk/pull/18752#discussion_r1574437767


More information about the hotspot-gc-dev mailing list