Index: src/heap/spaces.h |
diff --git a/src/heap/spaces.h b/src/heap/spaces.h |
index 3f2d22bee06cc5d8d726a1e3b270b9ba208e5a59..25847696ed8caffe4431087aeaf473340ccc9f3b 100644 |
--- a/src/heap/spaces.h |
+++ b/src/heap/spaces.h |
@@ -102,6 +102,7 @@ class FreeList; |
class MemoryAllocator; |
class MemoryChunk; |
class PagedSpace; |
+class PostMortem; |
class Space; |
class MarkBit { |
@@ -778,6 +779,9 @@ class MemoryChunk { |
friend class MemoryAllocator; |
friend class MemoryChunkValidator; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -931,6 +935,9 @@ class Page : public MemoryChunk { |
#endif // DEBUG |
friend class MemoryAllocator; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -948,6 +955,9 @@ class LargePage : public MemoryChunk { |
static inline LargePage* Initialize(Heap* heap, MemoryChunk* chunk); |
friend class MemoryAllocator; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -1026,6 +1036,9 @@ class Space : public Malloced { |
// Keeps track of committed memory in a space. |
intptr_t committed_; |
intptr_t max_committed_; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -2158,6 +2171,9 @@ class PagedSpace : public Space { |
// Used in cctest. |
friend class HeapTester; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -2276,6 +2292,9 @@ class NewSpacePage : public MemoryChunk { |
friend class SemiSpace; |
friend class SemiSpaceIterator; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -2454,6 +2473,9 @@ class SemiSpace : public Space { |
friend class SemiSpaceIterator; |
friend class NewSpacePageIterator; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -2946,6 +2968,9 @@ class OldSpace : public PagedSpace { |
// from OS. |
OldSpace(Heap* heap, AllocationSpace id, Executability executable) |
: PagedSpace(heap, id, executable) {} |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -2992,6 +3017,9 @@ class MapSpace : public PagedSpace { |
} |
const int max_map_space_pages_; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |
@@ -3081,6 +3109,9 @@ class LargeObjectSpace : public Space { |
HashMap chunk_map_; |
friend class LargeObjectIterator; |
+ |
+ // Used in postmortem |
+ friend class PostMortem; |
}; |