diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-06-24 11:21:59 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-06-24 14:49:48 -0700 |
commit | 48ab687d1f864fec93c2682de6fdc44ab784e2f8 (patch) | |
tree | a014f5ea92632b8c4409e2c763d87a84aa1a644f /runtime/monitor.h | |
parent | cbb0e809c0a4e8a4e8b7f5d3768a1864cfb381bb (diff) | |
download | art-48ab687d1f864fec93c2682de6fdc44ab784e2f8.tar.gz art-48ab687d1f864fec93c2682de6fdc44ab784e2f8.tar.bz2 art-48ab687d1f864fec93c2682de6fdc44ab784e2f8.zip |
Add logging to monitor deflation.
Change-Id: I0251ff19e0a3c3b9edc7c7e296f15eb3229f8f7c
Diffstat (limited to 'runtime/monitor.h')
-rw-r--r-- | runtime/monitor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/monitor.h b/runtime/monitor.h index a28823d184..d7552a3fd5 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -229,7 +229,8 @@ class MonitorList { LOCKS_EXCLUDED(monitor_list_lock_) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); void DisallowNewMonitors() LOCKS_EXCLUDED(monitor_list_lock_); void AllowNewMonitors() LOCKS_EXCLUDED(monitor_list_lock_); - void DeflateMonitors() LOCKS_EXCLUDED(monitor_list_lock_) + // Returns how many monitors were deflated. + size_t DeflateMonitors() LOCKS_EXCLUDED(monitor_list_lock_) EXCLUSIVE_LOCKS_REQUIRED(Locks::mutator_lock_); private: |