Changeset 205998 in webkit


Ignore:
Timestamp:
Sep 15, 2016 3:01:37 PM (8 years ago)
Author:
fpizlo@apple.com
Message:

REGRESSION (r205462): Lot of leaks
https://bugs.webkit.org/show_bug.cgi?id=161946

Reviewed by Saam Barati.

We were forgetting to delete LargeAllocations on VM exit!

  • heap/MarkedSpace.cpp:

(JSC::MarkedSpace::~MarkedSpace):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r205989 r205998  
     12016-09-15  Filip Pizlo  <fpizlo@apple.com>
     2
     3        REGRESSION (r205462): Lot of leaks
     4        https://bugs.webkit.org/show_bug.cgi?id=161946
     5
     6        Reviewed by Saam Barati.
     7       
     8        We were forgetting to delete LargeAllocations on VM exit!
     9
     10        * heap/MarkedSpace.cpp:
     11        (JSC::MarkedSpace::~MarkedSpace):
     12
    1132016-09-15  Keith Miller  <keith_miller@apple.com>
    214
  • trunk/Source/JavaScriptCore/heap/MarkedSpace.cpp

    r205658 r205998  
    204204            freeBlock(block);
    205205        });
     206    for (LargeAllocation* allocation : m_largeAllocations)
     207        allocation->destroy();
    206208    ASSERT(!m_blocks.set().size());
    207209}
Note: See TracChangeset for help on using the changeset viewer.