summaryrefslogtreecommitdiff
path: root/openjdkjvmti/ti_thread.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-10-16 13:09:32 -0700
committer Andreas Gampe <agampe@google.com> 2018-10-17 12:17:28 -0700
commit6e8977690147b75096c0a993efb53ae329e3fd2c (patch)
treedd2e653b893e2d91a9c238a3468f66a3def98743 /openjdkjvmti/ti_thread.cc
parent0de385f9eb5f8c066121ea2d43e8b8eea6a726fa (diff)
ART: Refactor for bugprone-argument-comment
Handles openjdkjvmti. Bug: 116054210 Test: WITH_TIDY=1 mmma art Change-Id: Ic73e3f32b08f3b6d9300428ad95d12a696db0458
Diffstat (limited to 'openjdkjvmti/ti_thread.cc')
-rw-r--r--openjdkjvmti/ti_thread.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/openjdkjvmti/ti_thread.cc b/openjdkjvmti/ti_thread.cc
index a0e5b5c926..12b9546635 100644
--- a/openjdkjvmti/ti_thread.cc
+++ b/openjdkjvmti/ti_thread.cc
@@ -857,7 +857,7 @@ jvmtiError ThreadUtil::SuspendOther(art::Thread* self,
bool timeout = true;
art::Thread* ret_target = art::Runtime::Current()->GetThreadList()->SuspendThreadByPeer(
target_jthread,
- /* request_suspension */ true,
+ /* request_suspension= */ true,
art::SuspendReason::kForUserCode,
&timeout);
if (ret_target == nullptr && !timeout) {