| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index cf8339a26bc1d2b6587adcda25fa3c689be26007..a758ae53a7d3173845d9c8b338f0eda96b470f68 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -1038,14 +1038,13 @@ class Heap {
|
| // Iterates over all the other roots in the heap.
|
| void IterateWeakRoots(ObjectVisitor* v, VisitMode mode);
|
|
|
| - // Iterate pointers to from semispace of new space found in memory interval
|
| - // from start to end within |object|.
|
| - void IteratePointersToFromSpace(HeapObject* target, int size,
|
| - ObjectSlotCallback callback);
|
| + // Iterate pointers of promoted objects.
|
| + void IteratePromotedObject(HeapObject* target, int size,
|
| + ObjectSlotCallback callback);
|
|
|
| - void IterateAndMarkPointersToFromSpace(HeapObject* object, Address start,
|
| - Address end, bool record_slots,
|
| - ObjectSlotCallback callback);
|
| + void IteratePromotedObjectPointers(HeapObject* object, Address start,
|
| + Address end, bool record_slots,
|
| + ObjectSlotCallback callback);
|
|
|
| // ===========================================================================
|
| // Store buffer API. =========================================================
|
| @@ -1079,6 +1078,8 @@ class Heap {
|
|
|
| bool TryFinalizeIdleIncrementalMarking(double idle_time_in_ms);
|
|
|
| + void RegisterReservationsForBlackAllocation(Reservation* reservations);
|
| +
|
| IncrementalMarking* incremental_marking() { return incremental_marking_; }
|
|
|
| // ===========================================================================
|
| @@ -2202,7 +2203,7 @@ class Heap {
|
| friend class HeapIterator;
|
| friend class IdleScavengeObserver;
|
| friend class IncrementalMarking;
|
| - friend class IteratePointersToFromSpaceVisitor;
|
| + friend class IteratePromotedObjectsVisitor;
|
| friend class MarkCompactCollector;
|
| friend class MarkCompactMarkingVisitor;
|
| friend class NewSpace;
|
|
|