RFR: 8323993: Serial: Refactor gc_prologue and gc_epilogue
Albert Mingkun Yang
ayang at openjdk.org
Wed Jan 17 14:36:52 UTC 2024
On Wed, 17 Jan 2024 14:31:29 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
>> Simple moving methods from super class to subclasses.
>
> 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.)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17463#discussion_r1455724487
More information about the hotspot-gc-dev
mailing list