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

Unified Diff: src/zone/accounting-allocator.h

Issue 2392183004: Added zone pool metrics to gc-trace. (Closed)
Patch Set: Added recent master changes Created 4 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/isolate.cc ('k') | src/zone/accounting-allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/zone/accounting-allocator.h
diff --git a/src/zone/accounting-allocator.h b/src/zone/accounting-allocator.h
index 6a32e18af7b8daaab93789e1e1b8dd8bf314525c..b8ca5471cecd46138510874f8cf74da05f332b90 100644
--- a/src/zone/accounting-allocator.h
+++ b/src/zone/accounting-allocator.h
@@ -59,12 +59,11 @@ class V8_EXPORT_PRIVATE AccountingAllocator {
size_t unused_segments_sizes[1 + kMaxSegmentSizePower - kMinSegmentSizePower];
- size_t unused_segments_size_ = 0;
-
base::Mutex unused_segments_mutex_;
base::AtomicWord current_memory_usage_ = 0;
base::AtomicWord max_memory_usage_ = 0;
+ base::AtomicWord current_pool_size_ = 0;
base::AtomicValue<MemoryPressureLevel> memory_pressure_level_;
« no previous file with comments | « src/isolate.cc ('k') | src/zone/accounting-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698