RFR: 8308235: ThreadContainer registry accumulates weak refs

Alan Bateman alanb at openjdk.org
Fri May 19 09:12:02 UTC 2023


On Fri, 19 May 2023 08:46:24 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Would it be worth calling `expungeStaleEntries()` to do this cleanup even when a specific `ThreadContainer` is deregistered, in the implementation of method `deregisterContainer(...)`?

If there is a mix of usages where some are explicitly shutdown/terminated, and others are abandoned, then it might help some usage patterns. There is more significant work to do this area and I think we can look at it then.

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

PR Comment: https://git.openjdk.org/jdk/pull/14047#issuecomment-1554273632


More information about the core-libs-dev mailing list