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

Unified Diff: runtime/vm/pages.h

Issue 10576004: Log growth policy decisions when verbose gc is enabled. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address review comments Created 8 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 | runtime/vm/pages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/pages.h
diff --git a/runtime/vm/pages.h b/runtime/vm/pages.h
index 6b6e8fb845cbe7af54c2c1dda34a0457d53b5706..8aba7699d771e4bb940b63475c96ccbbde042967 100644
--- a/runtime/vm/pages.h
+++ b/runtime/vm/pages.h
@@ -84,15 +84,15 @@ class PageSpaceGarbageCollectionHistory {
PageSpaceGarbageCollectionHistory();
~PageSpaceGarbageCollectionHistory() {}
- void AddGarbageCollectionTime(uint64_t start, uint64_t end);
+ void AddGarbageCollectionTime(int64_t start, int64_t end);
int GarbageCollectionTimeFraction();
private:
- static const uint32_t kHistoryLength = 4;
- uint64_t start_[kHistoryLength];
- uint64_t end_[kHistoryLength];
- uint32_t index_;
+ static const intptr_t kHistoryLength = 4;
+ int64_t start_[kHistoryLength];
+ int64_t end_[kHistoryLength];
+ intptr_t index_;
DISALLOW_ALLOCATION();
DISALLOW_COPY_AND_ASSIGN(PageSpaceGarbageCollectionHistory);
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698