diff options
| author | 2014-07-09 12:54:32 -0700 | |
|---|---|---|
| committer | 2014-07-10 10:50:04 -0700 | |
| commit | 654dd48e2230e16bfaa225decce72b52642e2f78 (patch) | |
| tree | af06c5db6159159ffd701c0bbd43440e86ddf1fb /runtime/gc/allocator/rosalloc.h | |
| parent | adce33da293b0eeaaf52673338770f22be71ca5d (diff) | |
Improve the OOME fragmentation message.
Change-Id: I390d3622f8d572ec7e34ea6dff9e1e0936e81ac1
Diffstat (limited to 'runtime/gc/allocator/rosalloc.h')
| -rw-r--r-- | runtime/gc/allocator/rosalloc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/gc/allocator/rosalloc.h b/runtime/gc/allocator/rosalloc.h index fad0dc888e..85a8225807 100644 --- a/runtime/gc/allocator/rosalloc.h +++ b/runtime/gc/allocator/rosalloc.h @@ -590,6 +590,8 @@ class RosAlloc { // Verify for debugging. void Verify() EXCLUSIVE_LOCKS_REQUIRED(Locks::mutator_lock_); + + void LogFragmentationAllocFailure(std::ostream& os, size_t failed_alloc_bytes); }; } // namespace allocator |