Improve accuracy of heap trim times
Before, WaitForConcurrentGc was being called inside of Heap::Trim.
This caused the printed trim times to be larger than they should be.
Change-Id: Icc76b5ed7fb99350536d48a5215e7c1fdb8b4567
diff --git a/src/heap.h b/src/heap.h
index 14d8382..984a329 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -278,7 +278,7 @@
void DumpForSigQuit(std::ostream& os);
- void Trim(Thread* self);
+ void Trim();
HeapBitmap* GetLiveBitmap() SHARED_LOCKS_REQUIRED(Locks::heap_bitmap_lock_) {
return live_bitmap_.get();