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

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: 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') | runtime/vm/pages.cc » ('J')
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..bb929c7f2417de2509b6cffc106d72a299aca1b7 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];
+ int64_t index_;
Ivan Posva 2012/06/22 20:50:37 int or intptr_t? It should match whatever we use f
cshapiro 2012/06/22 21:17:27 Switched to an inptr_t. Done.
DISALLOW_ALLOCATION();
DISALLOW_COPY_AND_ASSIGN(PageSpaceGarbageCollectionHistory);
« no previous file with comments | « no previous file | runtime/vm/pages.cc » ('j') | runtime/vm/pages.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698