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

Unified Diff: src/heap-profiler.h

Issue 47713002: AllocationsTracker: introduce heap-profiler-always-track-allocations flag (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 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 | « src/flag-definitions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap-profiler.h
diff --git a/src/heap-profiler.h b/src/heap-profiler.h
index 74002278d40beb1a23a06523da4d5c6066911c9f..de1c81e8a983ee056c397ec9aa5fa06757477dae 100644
--- a/src/heap-profiler.h
+++ b/src/heap-profiler.h
@@ -84,7 +84,8 @@ class HeapProfiler {
void SetRetainedObjectInfo(UniqueId id, RetainedObjectInfo* info);
bool is_tracking_allocations() {
- return is_tracking_allocations_;
+ return is_tracking_allocations_ ||
+ FLAG_heap_profiler_always_track_allocations;
yurys 2013/10/28 08:17:25 Should we also call HeapProfiler::StartHeapObjects
}
void StartHeapAllocationsRecording();
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698