RFR: 8323993: Serial: Refactor gc_prologue and gc_epilogue

Stefan Karlsson stefank at openjdk.org
Wed Jan 17 14:47:53 UTC 2024


On Wed, 17 Jan 2024 14:33:50 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> 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)`?
>
> Young-gen doesn't have such method. (It was using the empty one from super class.)

Got it. Thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17463#discussion_r1455752150


More information about the hotspot-gc-dev mailing list