RFR: Expand old on demand [v63]
Kelvin Nilsen
kdnilsen at openjdk.org
Thu May 25 19:52:07 UTC 2023
On Thu, 25 May 2023 16:47:15 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp line 358:
>>
>>> 356:
>>> 357: // How many full-gc cycles have been completed?
>>> 358: volatile size_t _completed_fullgc_cycles;
>>
>> `ShenandoahCollectorPolicy` already counts full GC cycles (implicit and explicit). We could add a `get_full_gc_count` there without duplicating any functionality.
>
> good idea. I searched around and couldn't figure out where this was. I'll pursue this simplification.
I've made this change as suggested by you.
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/248#discussion_r1205944052
More information about the shenandoah-dev
mailing list