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

Unified Diff: base/trace_event/heap_profiler_heap_dump_writer.h

Issue 1911643002: Add configurable limit to allocations in heap profiler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatting changes Created 4 years, 8 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
Index: base/trace_event/heap_profiler_heap_dump_writer.h
diff --git a/base/trace_event/heap_profiler_heap_dump_writer.h b/base/trace_event/heap_profiler_heap_dump_writer.h
index 88fb86f523ba0275afbf4839bde3dc46e64581b2..4a80c0c647591dadcaf090352186a63d99930bde 100644
--- a/base/trace_event/heap_profiler_heap_dump_writer.h
+++ b/base/trace_event/heap_profiler_heap_dump_writer.h
@@ -97,6 +97,9 @@ class BASE_EXPORT HeapDumpWriter {
// dump writer instance.
TypeNameDeduplicator* const type_name_deduplicator_;
+ // Minimum size of an allocation for which a stack trace will be kept.
ssid 2016/04/20 23:00:30 It is not just stack trace, it could be type bucke
Maria 2016/04/21 00:03:56 Done.
+ size_t min_allocation_size_bytes_;
+
DISALLOW_COPY_AND_ASSIGN(HeapDumpWriter);
};
« no previous file with comments | « no previous file | base/trace_event/heap_profiler_heap_dump_writer.cc » ('j') | base/trace_event/heap_profiler_heap_dump_writer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698