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

Unified Diff: src/zone.h

Issue 18034006: Turn zone_excess_limit_ into a constant. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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/zone.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/zone.h
diff --git a/src/zone.h b/src/zone.h
index e6a200871c9aa3ef9a198c639c4ef95b2a5275e5..5545e3cede6dc6b80ed3a2a517b771256a5f6790 100644
--- a/src/zone.h
+++ b/src/zone.h
@@ -91,7 +91,7 @@ class Zone {
static const int kMaximumSegmentSize = 1 * MB;
// Report zone excess when allocation exceeds this limit.
- int zone_excess_limit_;
+ static const int kExcessLimit = 256 * MB;
// The number of bytes allocated in this zone so far.
unsigned allocation_size_;
« no previous file with comments | « no previous file | src/zone.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698