summaryrefslogtreecommitdiff
path: root/openjdkjvmti/ti_class_definition.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_class_definition.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_class_definition.cc')
-rw-r--r--openjdkjvmti/ti_class_definition.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/openjdkjvmti/ti_class_definition.cc b/openjdkjvmti/ti_class_definition.cc
index 895e73450e..9e8288f997 100644
--- a/openjdkjvmti/ti_class_definition.cc
+++ b/openjdkjvmti/ti_class_definition.cc
@@ -246,17 +246,17 @@ void ArtClassDefinition::InitWithDex(GetOriginalDexFile get_original,
mmap_name += name_;
std::string error;
dex_data_mmap_ = art::MemMap::MapAnonymous(mmap_name.c_str(),
- /* addr */ nullptr,
+ /* addr= */ nullptr,
dequick_size,
PROT_NONE,
- /*low_4gb*/ false,
+ /*low_4gb=*/ false,
&error);
mmap_name += "-TEMP";
temp_mmap_ = art::MemMap::MapAnonymous(mmap_name.c_str(),
- /* addr */ nullptr,
+ /* addr= */ nullptr,
dequick_size,
PROT_READ | PROT_WRITE,
- /*low_4gb*/ false,
+ /*low_4gb=*/ false,
&error);
if (UNLIKELY(dex_data_mmap_.IsValid() && temp_mmap_.IsValid())) {
// Need to save the initial dexfile so we don't need to search for it in the fault-handler.