commit | 654dd48e2230e16bfaa225decce72b52642e2f78 | [log] [tgz] |
---|---|---|
author | Hiroshi Yamauchi <yamauchi@google.com> | Wed Jul 09 12:54:32 2014 -0700 |
committer | Hiroshi Yamauchi <yamauchi@google.com> | Thu Jul 10 10:50:04 2014 -0700 |
tree | af06c5db6159159ffd701c0bbd43440e86ddf1fb | |
parent | adce33da293b0eeaaf52673338770f22be71ca5d [diff] [blame] |
Improve the OOME fragmentation message. Change-Id: I390d3622f8d572ec7e34ea6dff9e1e0936e81ac1
diff --git a/runtime/gc/allocator/rosalloc.h b/runtime/gc/allocator/rosalloc.h index fad0dc8..85a8225 100644 --- a/runtime/gc/allocator/rosalloc.h +++ b/runtime/gc/allocator/rosalloc.h
@@ -590,6 +590,8 @@ // Verify for debugging. void Verify() EXCLUSIVE_LOCKS_REQUIRED(Locks::mutator_lock_); + + void LogFragmentationAllocFailure(std::ostream& os, size_t failed_alloc_bytes); }; } // namespace allocator