diff options
author | 2018-10-19 14:06:15 -0700 | |
---|---|---|
committer | 2018-10-23 15:19:55 -0700 | |
commit | 98ea9d9d82ab078ca10fa7f8e02eddda94cf1d98 (patch) | |
tree | a848b7e41ff227a2d3d4d6795ec11089f39cb6ca /runtime/gc/allocator/rosalloc.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/gc/allocator/rosalloc.cc')
-rw-r--r-- | runtime/gc/allocator/rosalloc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/gc/allocator/rosalloc.cc b/runtime/gc/allocator/rosalloc.cc index 0dbafde2a5..8cc0c4ebf8 100644 --- a/runtime/gc/allocator/rosalloc.cc +++ b/runtime/gc/allocator/rosalloc.cc @@ -92,10 +92,10 @@ RosAlloc::RosAlloc(void* base, size_t capacity, size_t max_capacity, size_t max_num_of_pages = max_capacity_ / kPageSize; std::string error_msg; page_map_mem_map_ = MemMap::MapAnonymous("rosalloc page map", - /* addr */ nullptr, + /* addr= */ nullptr, RoundUp(max_num_of_pages, kPageSize), PROT_READ | PROT_WRITE, - /* low_4gb */ false, + /* low_4gb= */ false, &error_msg); CHECK(page_map_mem_map_.IsValid()) << "Couldn't allocate the page map : " << error_msg; page_map_ = page_map_mem_map_.Begin(); |