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

Unified Diff: src/zone.cc

Issue 16858018: Make Zone::allocation_size work with parallel zones. (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 | « src/zone.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/zone.cc
diff --git a/src/zone.cc b/src/zone.cc
index 51b8113a0d912e78b67213145c07664bad4d8d0c..d3f1c6fce52d0b00e9feb86c0c253b5564937c51 100644
--- a/src/zone.cc
+++ b/src/zone.cc
@@ -69,6 +69,7 @@ class Segment {
Zone::Zone(Isolate* isolate)
: zone_excess_limit_(256 * MB),
+ allocation_size_(0),
segment_bytes_allocated_(0),
position_(0),
limit_(0),
@@ -76,7 +77,7 @@ Zone::Zone(Isolate* isolate)
segment_head_(NULL),
isolate_(isolate) {
}
-unsigned Zone::allocation_size_ = 0;
+
ZoneScope::~ZoneScope() {
if (ShouldDeleteOnExit()) zone_->DeleteAll();
« no previous file with comments | « src/zone.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698