commit | 8cf5bc0ab8742df107f0f4fc8ec0e991b6568f11 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Feb 02 16:32:16 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Feb 02 17:07:51 2012 -0800 |
tree | 2c21156aa0314dfa4f5b0cea9489e3aa16ebe743 | |
parent | c27273f0508fb56ba35bead311151fbe45724d35 [diff] [blame] |
Simple heap trimming. Change-Id: I8a94b637e64c6b5586db3c41b6e9230e7c8250c8
diff --git a/src/heap.h b/src/heap.h index ebb1c85..58d7924 100644 --- a/src/heap.h +++ b/src/heap.h
@@ -218,6 +218,8 @@ // Pushes a list of cleared references out to the managed heap. static void EnqueueClearedReferences(Object** cleared_references); + static void RequestHeapTrim(); + static void RecordAllocationLocked(AllocSpace* space, const Object* object); static void RecordImageAllocations(Space* space);