| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index df3ba0ea2a24b9c3b1f85d532c6d31fcf80a2b85..1349e51199858e0b1193c2150b4f2b701e7a35a6 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -774,11 +774,12 @@ class Heap : public AllStatic {
|
| DirtyRegionCallback visit_dirty_region,
|
| ObjectSlotCallback callback);
|
|
|
| - // Iterate pointers to new space found in memory interval from start to end.
|
| + // Iterate pointers to from semispace of new space found in memory interval
|
| + // from start to end.
|
| // Update dirty marks for page containing start address.
|
| - static void IterateAndMarkPointersToNewSpace(Address start,
|
| - Address end,
|
| - ObjectSlotCallback callback);
|
| + static void IterateAndMarkPointersToFromSpace(Address start,
|
| + Address end,
|
| + ObjectSlotCallback callback);
|
|
|
| // Iterate pointers to new space found in memory interval from start to end.
|
| // Return true if pointers to new space was found.
|
| @@ -985,6 +986,8 @@ class Heap : public AllStatic {
|
|
|
| static void RecordStats(HeapStats* stats);
|
|
|
| + static Scavenger GetScavenger(int instance_type, int instance_size);
|
| +
|
| // Copy block of memory from src to dst. Size of block should be aligned
|
| // by pointer size.
|
| static inline void CopyBlock(Address dst, Address src, int byte_size);
|
| @@ -1232,17 +1235,7 @@ class Heap : public AllStatic {
|
| set_instanceof_cache_function(the_hole_value());
|
| }
|
|
|
| - // Helper function used by CopyObject to copy a source object to an
|
| - // allocated target object and update the forwarding pointer in the source
|
| - // object. Returns the target object.
|
| - static inline HeapObject* MigrateObject(HeapObject* source,
|
| - HeapObject* target,
|
| - int size);
|
| -
|
| #if defined(DEBUG) || defined(ENABLE_LOGGING_AND_PROFILING)
|
| - // Record the copy of an object in the NewSpace's statistics.
|
| - static void RecordCopiedObject(HeapObject* obj);
|
| -
|
| // Record statistics before and after garbage collection.
|
| static void ReportStatisticsBeforeGC();
|
| static void ReportStatisticsAfterGC();
|
|
|