| Index: src/spaces.h
|
| ===================================================================
|
| --- src/spaces.h (revision 6183)
|
| +++ src/spaces.h (working copy)
|
| @@ -1594,6 +1594,10 @@
|
|
|
| void MarkNodes();
|
|
|
| +#ifdef DEBUG
|
| + void Zap();
|
| +#endif
|
| +
|
| private:
|
| // The size range of blocks, in bytes. (Smaller allocations are allowed, but
|
| // will always result in waste.)
|
| @@ -1694,6 +1698,10 @@
|
|
|
| void MarkNodes();
|
|
|
| +#ifdef DEBUG
|
| + void Zap();
|
| +#endif
|
| +
|
| private:
|
| // Available bytes on the free list.
|
| intptr_t available_;
|
| @@ -1766,6 +1774,8 @@
|
| #ifdef DEBUG
|
| // Reports statistics for the space
|
| void ReportStatistics();
|
| +
|
| + OldSpaceFreeList* free_list() { return &free_list_; }
|
| #endif
|
|
|
| protected:
|
| @@ -1832,6 +1842,8 @@
|
| #ifdef DEBUG
|
| // Reports statistic info of the space
|
| void ReportStatistics();
|
| +
|
| + FixedSizeFreeList* free_list() { return &free_list_; }
|
| #endif
|
|
|
| protected:
|
|
|