From 440e4ceb310349ee8eb569495bc04d3d7fbe71cb Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Mon, 31 Mar 2014 16:36:35 -0700 Subject: Add monitor deflation. We now deflate the monitors when we perform a heap trim. This causes a pause but it shouldn't matter since we should be in a state where we don't care about pauses. Memory savings are hard to measure. Fixed integer overflow bug in GetEstimatedLastIterationThroughput. Bug: 13733906 Change-Id: I4e0e68add02e7f43370b3a5ea763d6fe8a5b212c --- runtime/base/mutex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/base') diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h index 4b881f6..b50c098 100644 --- a/runtime/base/mutex.h +++ b/runtime/base/mutex.h @@ -76,6 +76,7 @@ enum LockLevel { kClassLinkerClassesLock, kBreakpointLock, kMonitorLock, + kMonitorListLock, kThreadListLock, kBreakpointInvokeLock, kDeoptimizationLock, -- cgit v1.1