Ignore:
Timestamp:
Dec 4, 2007, 7:58:41 PM (17 years ago)
Author:
[email protected]
Message:

Merge TCMalloc r38

Reviewed by Mark Rowe and Geoff Garen.

It also result in a performance progression between 0.5% and
0.9% depending on the test, however most if not all of this
gain will be consumed by the overhead involved in the later
change to release memory to the system.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/TCPageMap.h

    r27186 r28434  
    7979  }
    8080
     81  void PreallocateMoreMemory() {}
     82
    8183  // REQUIRES "k" is in range "[0,2^BITS-1]".
    8284  // REQUIRES "k" has been ensured before.
     
    156158  }
    157159
     160  void PreallocateMoreMemory() {
     161    // Allocate enough to keep track of all possible pages
     162    Ensure(0, 1 << BITS);
     163  }
     164
    158165#ifdef WTF_CHANGES
    159166  template<class Visitor, class MemoryReader>
     
    255262  }
    256263
     264  void PreallocateMoreMemory() {
     265  }
     266
    257267#ifdef WTF_CHANGES
    258268  template<class Visitor, class MemoryReader>
Note: See TracChangeset for help on using the changeset viewer.