Ignore:
Timestamp:
Feb 25, 2008, 2:44:23 PM (17 years ago)
Author:
[email protected]
Message:

2008-02-25 Mark Mentovai <[email protected]>

Reviewed by Mark Rowe.

Enable CollectorHeapIntrospector to build by itself, as well as in an AllInOneFile build.
http://bugs.webkit.org/show_bug.cgi?id=17538

  • kjs/CollectorHeapIntrospector.cpp: Provide "using" declaration for WTF::RemoteMemoryReader.
  • kjs/collector.h: Move CollectorHeap declaration here...
  • kjs/collector.cpp: ... from here.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/collector.cpp

    r30492 r30576  
    8484const size_t LOW_WATER_FACTOR = 4;
    8585const size_t ALLOCATIONS_PER_COLLECTION = 4000;
    86 
    87 enum OperationInProgress { NoOperation, Allocation, Collection };
    88 
    89 struct CollectorHeap {
    90   CollectorBlock** blocks;
    91   size_t numBlocks;
    92   size_t usedBlocks;
    93   size_t firstBlockWithPossibleSpace;
    94  
    95   size_t numLiveObjects;
    96   size_t numLiveObjectsAtLastCollect;
    97   size_t extraCost;
    98 
    99   OperationInProgress operationInProgress;
    100 };
    10186
    10287static CollectorHeap primaryHeap = { 0, 0, 0, 0, 0, 0, 0, NoOperation };
Note: See TracChangeset for help on using the changeset viewer.