diff options
| author | 2016-03-24 00:26:57 +0000 | |
|---|---|---|
| committer | 2016-03-24 00:26:57 +0000 | |
| commit | 1fd223d781dfb53234cc926e7134b08545d6419c (patch) | |
| tree | afee85bd82b92ac52656c8a79d47e3c94e919f23 /runtime/gc/allocator/rosalloc.h | |
| parent | 760efa3d01257250972ea47a00c0edb01d608c3a (diff) | |
| parent | b62f2e6f3f8d66b3231ecec14ea9365733371b39 (diff) | |
Merge "Add RosAlloc stats dump."
Diffstat (limited to 'runtime/gc/allocator/rosalloc.h')
| -rw-r--r-- | runtime/gc/allocator/rosalloc.h | 3 | 
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/gc/allocator/rosalloc.h b/runtime/gc/allocator/rosalloc.h index b12cb5b0dd..1fa2d1ac8a 100644 --- a/runtime/gc/allocator/rosalloc.h +++ b/runtime/gc/allocator/rosalloc.h @@ -928,6 +928,9 @@ class RosAlloc {    void LogFragmentationAllocFailure(std::ostream& os, size_t failed_alloc_bytes)        REQUIRES(!bulk_free_lock_, !lock_); +  void DumpStats(std::ostream& os) +      REQUIRES(Locks::mutator_lock_) REQUIRES(!lock_) REQUIRES(!bulk_free_lock_); +   private:    friend std::ostream& operator<<(std::ostream& os, const RosAlloc::PageMapKind& rhs);  |