RFR: Generation resizing [v3]
William Kemper
wkemper at openjdk.org
Fri Dec 9 16:34:48 UTC 2022
On Thu, 8 Dec 2022 07:57:51 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:
>> William Kemper has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Remove vestigial lock, do not enroll periodic task while holding threads_lock
>
> src/hotspot/share/gc/shenandoah/shenandoahYoungGeneration.cpp line 95:
>
>> 93:
>> 94: void ShenandoahYoungGeneration::add_collection_time(double time_seconds) {
>> 95: if (_old_gen_task_queues != NULL) {
>
> This seems a bit subtle. Isn't there a better/official status flag to check, or a default second parm to leverage from caller?
I'll turn this into an `is_bootstrapping()` method.
-------------
PR: https://git.openjdk.org/shenandoah/pull/177
More information about the shenandoah-dev
mailing list