An instance of the class G1PreEvacuateCollectionSetBatchTask is stack allocated by each young/mixed collection. That object contains subtasks, which are C-heap allocated by the batch-task's constructor. However, the batch-task's destructor doesn't delete them, instead letting them leak.
- relates to
-
JDK-8302122 Parallelize TLAB retirement in prologue in G1
- Resolved