Ignore:
Timestamp:
Jan 14, 2011, 3:36:39 PM (14 years ago)
Author:
Patrick Gansterer
Message:

2011-01-14 Patrick Gansterer <Patrick Gansterer>

Reviewed by Adam Roben.

Use the Windows thread pool instead of an extra thread for FastMalloc scavenging
https://bugs.webkit.org/show_bug.cgi?id=45186

r75819 accidentally changed the initial state of the scavenge timer.

  • wtf/FastMalloc.cpp: (WTF::TCMalloc_PageHeap::initializeScavenger): Changed initial state of m_scavengingSuspended to true.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wtf/FastMalloc.cpp

    r75827 r75830  
    15161516    dispatch_source_set_timer(m_scavengeTimer, startTime, kScavengeDelayInSeconds * NSEC_PER_SEC, 1000 * NSEC_PER_USEC);
    15171517    dispatch_source_set_event_handler(m_scavengeTimer, ^{ periodicScavenge(); });
    1518     m_scavengingSuspended = false;
     1518    m_scavengingSuspended = true;
    15191519}
    15201520
Note: See TracChangeset for help on using the changeset viewer.