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

Unified Diff: runtime/vm/heap.h

Issue 70993002: - Convert heap sizes to words from bytes. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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
Index: runtime/vm/heap.h
===================================================================
--- runtime/vm/heap.h (revision 30304)
+++ runtime/vm/heap.h (working copy)
@@ -162,8 +162,8 @@
void PrintSizes() const;
// Return amount of memory used and capacity in a space.
- intptr_t Used(Space space) const;
- intptr_t Capacity(Space space) const;
+ intptr_t UsedInWords(Space space) const;
+ intptr_t CapacityInWords(Space space) const;
// Returns the [lowest, highest) addresses in the heap.
void StartEndAddress(uword* start, uword* end) const;
@@ -244,10 +244,10 @@
public:
Data() {}
int64_t micros_;
- intptr_t new_used_;
- intptr_t new_capacity_;
- intptr_t old_used_;
- intptr_t old_capacity_;
+ intptr_t new_used_in_words_;
+ intptr_t new_capacity_in_words_;
+ intptr_t old_used_in_words_;
+ intptr_t old_capacity_in_words_;
private:
DISALLOW_COPY_AND_ASSIGN(Data);
};
« no previous file with comments | « runtime/platform/globals.h ('k') | runtime/vm/heap.cc » ('j') | runtime/vm/pages.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698