summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/monitor.cc2
-rw-r--r--runtime/monitor.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/runtime/monitor.cc b/runtime/monitor.cc
index 1ceaa5d..a5605ff 100644
--- a/runtime/monitor.cc
+++ b/runtime/monitor.cc
@@ -695,7 +695,7 @@ void Monitor::Wait(Thread* self, mirror::Object *obj, int64_t ms, int32_t ns,
mon->Wait(self, ms, ns, interruptShouldThrow, why);
}
-void Monitor::InflateAndNotify(Thread* self, mirror::Object* obj, bool notify_all) {
+void Monitor::DoNotify(Thread* self, mirror::Object* obj, bool notify_all) {
DCHECK(self != NULL);
DCHECK(obj != NULL);
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)