Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(393)

Unified Diff: src/heap/spaces.h

Issue 1437133006: postmortem: export private field offsets Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/heap.h ('k') | src/isolate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « src/heap/heap.h ('k') | src/isolate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698