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

Unified Diff: src/log.h

Issue 40219: Get rid or heap allocation in stack sampler to avoid deadlocks. (Closed)
Patch Set: CHECK(a > b) -> CHECK_GT Created 11 years, 10 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 | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 4adec19c495a5d5f471993d83b235f773566c988..1066e34f7626da733c9fa957e3a7fbf180a3f66e 100644
--- a/src/log.h
+++ b/src/log.h
@@ -277,8 +277,6 @@ class StackTracer BASE_EMBEDDED {
: low_stack_bound_(low_stack_bound) { }
void Trace(TickSample* sample);
private:
- // Maximum number of stack frames to capture
- static const int kMaxStackFrames = 5;
unsigned int low_stack_bound_;
};
« no previous file with comments | « no previous file | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698