summaryrefslogtreecommitdiffstats
path: root/runtime/monitor.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/monitor.h')
-rw-r--r--runtime/monitor.h6
1 files changed, 3 insertions, 3 deletions
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)