diff options
Diffstat (limited to 'runtime/cha.cc')
-rw-r--r-- | runtime/cha.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/cha.cc b/runtime/cha.cc index 0c032aa125..d19d4f6e30 100644 --- a/runtime/cha.cc +++ b/runtime/cha.cc @@ -241,7 +241,7 @@ class CHACheckpoint final : public Closure { // Note thread and self may not be equal if thread was already suspended at // the point of the request. Thread* self = Thread::Current(); - Locks::mutator_lock_->AssertSharedHeld(Thread::Current()); + ScopedObjectAccess soa(self); CHAStackVisitor visitor(thread, nullptr, method_headers_); visitor.WalkStack(); barrier_.Pass(self); |