diff options
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: |
