diff options
author | Ryan <ry@tinyclouds.org> | 2009-07-20 13:18:42 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-07-20 13:18:42 +0200 |
commit | 88e9a5f122822b96e0ccfbba2083fe6ef43f3fdc (patch) | |
tree | 3cad417de864555fd27d573af866f2a1b3c352ad /deps/v8/src/mark-compact.h | |
parent | f4dfbe37a3f1fef2c91068958dfe1888ba100332 (diff) | |
download | node-new-88e9a5f122822b96e0ccfbba2083fe6ef43f3fdc.tar.gz |
Upgrade V8 to 1.2.14
Diffstat (limited to 'deps/v8/src/mark-compact.h')
-rw-r--r-- | deps/v8/src/mark-compact.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/deps/v8/src/mark-compact.h b/deps/v8/src/mark-compact.h index d7ad630136..bd9e4a0282 100644 --- a/deps/v8/src/mark-compact.h +++ b/deps/v8/src/mark-compact.h @@ -293,6 +293,7 @@ class MarkCompactCollector: public AllStatic { static void DeallocateOldDataBlock(Address start, int size_in_bytes); static void DeallocateCodeBlock(Address start, int size_in_bytes); static void DeallocateMapBlock(Address start, int size_in_bytes); + static void DeallocateCellBlock(Address start, int size_in_bytes); // If we are not compacting the heap, we simply sweep the spaces except // for the large object space, clearing mark bits and adding unmarked @@ -352,8 +353,12 @@ class MarkCompactCollector: public AllStatic { static int RelocateOldPointerObject(HeapObject* obj); static int RelocateOldDataObject(HeapObject* obj); + // Relocate a property cell object. + static int RelocateCellObject(HeapObject* obj); + // Helper function. - static inline int RelocateOldNonCodeObject(HeapObject* obj, OldSpace* space); + static inline int RelocateOldNonCodeObject(HeapObject* obj, + PagedSpace* space); // Relocates an object in the code space. static int RelocateCodeObject(HeapObject* obj); @@ -393,6 +398,9 @@ class MarkCompactCollector: public AllStatic { // Number of live objects in Heap::map_space_. static int live_map_objects_; + // Number of live objects in Heap::cell_space_. + static int live_cell_objects_; + // Number of live objects in Heap::lo_space_. static int live_lo_objects_; |