diff options
Diffstat (limited to 'runtime/openjdkjvmti/ti_thread.cc')
-rw-r--r-- | runtime/openjdkjvmti/ti_thread.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/openjdkjvmti/ti_thread.cc b/runtime/openjdkjvmti/ti_thread.cc index 9acea2a288..7d42879055 100644 --- a/runtime/openjdkjvmti/ti_thread.cc +++ b/runtime/openjdkjvmti/ti_thread.cc @@ -171,9 +171,8 @@ static art::Thread* GetNativeThreadLocked(jthread thread, } // Get the native thread. The spec says a null object denotes the current thread. -static art::Thread* GetNativeThread(jthread thread, - const art::ScopedObjectAccessAlreadyRunnable& soa) - REQUIRES_SHARED(art::Locks::mutator_lock_) { +art::Thread* ThreadUtil::GetNativeThread(jthread thread, + const art::ScopedObjectAccessAlreadyRunnable& soa) { if (thread == nullptr) { return art::Thread::Current(); } |