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

Zhengyu Gu zgu at openjdk.org
Wed Dec 18 14:51:45 UTC 2024


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

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

Commit messages:
 - 8346569: Shenandoah: Worker initializes ShenandoahThreadLocalData twice results in memory leak

Changes: https://git.openjdk.org/jdk/pull/22812/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22812&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8346569
  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/22812.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22812/head:pull/22812

PR: https://git.openjdk.org/jdk/pull/22812


More information about the shenandoah-dev mailing list