RFR (S): 8235247: WorkerDataArray leaks C heap memory for associated work items
thomas.schatzl at oracle.com
Tue Dec 3 13:02:51 UTC 2019
can I have reviews for this fix to a small memory leak, leaking a few
100 bytes per GC?
WorkerDataArray does not delete linked thread work items, so code that
temporarily creates and uses them leaks.
Currently this is only a variant of WeakProcessor::weak_oops_do() that
seems to be only used by G1.
Thanks go to M. Vidstedt for finding and reporting the issue.
manual testing using NMT; i did not observe other leaks given the
example program attached to the CR.
More information about the hotspot-gc-dev