RFR: 8296463: Memory leak in JVM_StartThread with the integration of Virtual threads

David Holmes dholmes at openjdk.org
Wed Nov 16 22:58:41 UTC 2022


Please review this simple fix that removes a memory leak. The _extentLocalCache OopHandle was not being released when a JavaThread was destroyed.

Testing:
 - manual leak checking with NMT
 -  tier1 (sanity)
Thanks.

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

Commit messages:
 - 8296463: Memory leak in JVM_StartThread with the integration of Virtual threads

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

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


More information about the hotspot-runtime-dev mailing list