Changeset 151020 in webkit


Ignore:
Timestamp:
May 31, 2013 9:16:11 AM (11 years ago)
Author:
rafael.lobo@openbossa.org
Message:

Fix double hash lookup in PageMapMemoryUsageRecorder::visit
https://bugs.webkit.org/show_bug.cgi?id=117071

Reviewed by Andreas Kling.

  • wtf/FastMalloc.cpp:

(WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WTF/ChangeLog

    r151018 r151020  
     12013-05-31  Rafael Brandao  <rafael.lobo@openbossa.org>
     2
     3        Fix double hash lookup in PageMapMemoryUsageRecorder::visit
     4        https://bugs.webkit.org/show_bug.cgi?id=117071
     5
     6        Reviewed by Andreas Kling.
     7
     8        * wtf/FastMalloc.cpp:
     9        (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):
     10
    1112013-05-31  Brent Fulgham  <bfulgham@apple.com>
    212
  • trunk/Source/WTF/wtf/FastMalloc.cpp

    r150676 r151020  
    48624862            return 1;
    48634863
    4864         if (m_seenPointers.contains(ptr))
     4864        if (!m_seenPointers.add(ptr).isNewEntry)
    48654865            return span->length;
    4866         m_seenPointers.add(ptr);
    48674866
    48684867        if (!m_coalescedSpans.size()) {
Note: See TracChangeset for help on using the changeset viewer.