Searched refs:kThreadLocalBracketQuantumSize (Results 1 - 4 of 4) sorted by relevance
/art/tools/cpp-define-generator/ |
H A D | constant_rosalloc.def | 29 DEFINE_ROSALLOC_CONSTANT(BRACKET_QUANTUM_SIZE_MASK, int32_t, static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 31 uint32_t, ~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)) 33 uint64_t, ~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))
|
/art/runtime/gc/allocator/ |
H A D | rosalloc.h | 519 ((size <= kMaxThreadLocalBracketSize && size % kThreadLocalBracketQuantumSize == 0) || 528 DCHECK_EQ(size % kThreadLocalBracketQuantumSize, 0U); 529 idx = size / kThreadLocalBracketQuantumSize - 1; 550 return RoundUp(size, kThreadLocalBracketQuantumSize); 564 return RoundUp(size, kThreadLocalBracketQuantumSize) / kThreadLocalBracketQuantumSize - 1; 581 bracket_size = RoundUp(size, kThreadLocalBracketQuantumSize); 582 idx = bracket_size / kThreadLocalBracketQuantumSize - 1; 601 bracket_size - size < kThreadLocalBracketQuantumSize) || 683 static constexpr size_t kThreadLocalBracketQuantumSize member in class:art::gc::allocator::RosAlloc [all...] |
H A D | rosalloc.cc | 1631 bracketSizes[i] = kThreadLocalBracketQuantumSize * (i + 1); 1634 (kThreadLocalBracketQuantumSize * kNumThreadLocalSizeBrackets);
|
/art/runtime/generated/ |
H A D | asm_support_gen.h | 136 DEFINE_CHECK_EQ(static_cast<int32_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_MASK), (static_cast<int32_t>((static_cast<int32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))))) 138 DEFINE_CHECK_EQ(static_cast<uint32_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_MASK_TOGGLED32), (static_cast<uint32_t>((~static_cast<uint32_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1))))) 140 DEFINE_CHECK_EQ(static_cast<uint64_t>(ROSALLOC_BRACKET_QUANTUM_SIZE_MASK_TOGGLED64), (static_cast<uint64_t>((~static_cast<uint64_t>(art::gc::allocator::RosAlloc::kThreadLocalBracketQuantumSize - 1)))))
|
Completed in 105 milliseconds