RFR: 8346569: Shenandoah: Worker initializes ShenandoahThreadLocalData twice results in memory leak

William Kemper wkemper at openjdk.org
Thu Dec 19 23:35:34 UTC 2024


On Wed, 18 Dec 2024 14:46:57 GMT, Zhengyu Gu <zgu at openjdk.org> wrote:

> Worker thread initializes ShenandoahThreadLocalData twice, from Thread's constructor and ShenandoahWorkerThreads::on_create_worker(), that results in leaking ShenandoahEvacuationStats.

Good catch! How'd you find this?

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

Marked as reviewed by wkemper (Committer).

PR Review: https://git.openjdk.org/jdk/pull/22812#pullrequestreview-2516415866


More information about the hotspot-gc-dev mailing list