Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8311083

Memory leak in G1PreEvacuateCollectionSetBatchTask

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 21, 22
    • hotspot
    • gc
    • 21

      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.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: