RFR: 8323993: Serial: Refactor gc_prologue and gc_epilogue

Stefan Karlsson stefank at openjdk.org
Wed Jan 17 14:36:51 UTC 2024


On Wed, 17 Jan 2024 13:09:44 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Simple moving methods from super class to subclasses.

Changes requested by stefank (Reviewer).

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

> 1059:   ensure_parsability(true);   // retire TLABs
> 1060: 
> 1061:   _old_gen->gc_prologue();

Why is this not calling `_young_gen->gc_prolog(full)`?

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

PR Review: https://git.openjdk.org/jdk/pull/17463#pullrequestreview-1827437677
PR Review Comment: https://git.openjdk.org/jdk/pull/17463#discussion_r1455718699


More information about the hotspot-gc-dev mailing list