From 13c479e7e9b62115fe0409e5273c1e976a1c09f9 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Fri, 11 Oct 2013 07:59:01 -0700 Subject: Notify doesn't inflate, rename helper. Change-Id: I85c93b522478b3116a66630856a2370ec0fda490 --- runtime/monitor.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'runtime/monitor.h') diff --git a/runtime/monitor.h b/runtime/monitor.h index 044f76e..27124a2 100644 --- a/runtime/monitor.h +++ b/runtime/monitor.h @@ -62,11 +62,11 @@ class Monitor { static void Notify(Thread* self, mirror::Object* obj) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - InflateAndNotify(self, obj, false); + DoNotify(self, obj, false); } static void NotifyAll(Thread* self, mirror::Object* obj) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { - InflateAndNotify(self, obj, true); + DoNotify(self, obj, true); } static void Wait(Thread* self, mirror::Object* obj, int64_t ms, int32_t ns, bool interruptShouldThrow, ThreadState why) @@ -130,7 +130,7 @@ class Monitor { LOCKS_EXCLUDED(monitor_lock_) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); - static void InflateAndNotify(Thread* self, mirror::Object* obj, bool notify_all) + static void DoNotify(Thread* self, mirror::Object* obj, bool notify_all) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); void Notify(Thread* self) -- cgit v1.1