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

Unified Diff: Source/platform/heap/Heap.cpp

Issue 477913002: Oilpan: when snapshotting type-specific pages use GCInfo of the page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/Heap.cpp
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
index 111562a5ce26c4e116118796c3a6c9f0b8a67811..9b964b1b07693dbd31d148cdad0d1be7362d9f37 100644
--- a/Source/platform/heap/Heap.cpp
+++ b/Source/platform/heap/Heap.cpp
@@ -1400,7 +1400,8 @@ void HeapPage<Header>::snapshot(TracedValue* json, ThreadState::SnapshotInfo* in
continue;
}
- size_t tag = info->getClassTag(header->gcInfo());
+ const GCInfo* gcinfo = header->gcInfo() ? header->gcInfo() : gcInfo();
+ size_t tag = info->getClassTag(gcinfo);
size_t age = header->age();
if (json)
json->pushInteger(tag);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698