diff options
author | Andreas Gampe <agampe@google.com> | 2018-10-19 14:06:15 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2018-10-23 15:19:55 -0700 |
commit | 98ea9d9d82ab078ca10fa7f8e02eddda94cf1d98 (patch) | |
tree | a848b7e41ff227a2d3d4d6795ec11089f39cb6ca /runtime/native/java_lang_Thread.cc | |
parent | 02338775e33b553be51d44ff60bb1ef8e527bd94 (diff) |
ART: Refactor for bugprone-argument-comment
Handles runtime.
Bug: 116054210
Test: WITH_TIDY=1 mmma art
Change-Id: Ibc0d5086809d647f0ce4df5452eb84442d27ecf0
Diffstat (limited to 'runtime/native/java_lang_Thread.cc')
-rw-r--r-- | runtime/native/java_lang_Thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/native/java_lang_Thread.cc b/runtime/native/java_lang_Thread.cc index b7f0a7aabc..67ad0a47b8 100644 --- a/runtime/native/java_lang_Thread.cc +++ b/runtime/native/java_lang_Thread.cc @@ -147,7 +147,7 @@ static void Thread_setNativeName(JNIEnv* env, jobject peer, jstring java_name) { bool timed_out; // Take suspend thread lock to avoid races with threads trying to suspend this one. Thread* thread = thread_list->SuspendThreadByPeer(peer, - /* request_suspension */ true, + /* request_suspension= */ true, SuspendReason::kInternal, &timed_out); if (thread != nullptr) { |