From 6e8977690147b75096c0a993efb53ae329e3fd2c Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 16 Oct 2018 13:09:32 -0700 Subject: ART: Refactor for bugprone-argument-comment Handles openjdkjvmti. Bug: 116054210 Test: WITH_TIDY=1 mmma art Change-Id: Ic73e3f32b08f3b6d9300428ad95d12a696db0458 --- openjdkjvmti/ti_thread.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openjdkjvmti/ti_thread.cc') 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) { -- cgit v1.2.3-59-g8ed1b