Home
last modified time | relevance | path

Searched refs:kBracketQuantumSize (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.h519 (size <= kMaxRegularBracketSize && size % kBracketQuantumSize == 0) || in BracketSizeToIndex()
531 DCHECK_EQ((size - kMaxThreadLocalBracketSize) % kBracketQuantumSize, 0U); in BracketSizeToIndex()
532 idx = ((size - kMaxThreadLocalBracketSize) / kBracketQuantumSize - 1) in BracketSizeToIndex()
551 return RoundUp(size, kBracketQuantumSize); in RoundToBracketSize()
565 return (RoundUp(size, kBracketQuantumSize) - kMaxThreadLocalBracketSize) / kBracketQuantumSize in SizeToIndex()
583 bracket_size = RoundUp(size, kBracketQuantumSize); in SizeToIndexAndBracketSize()
584 idx = ((bracket_size - kMaxThreadLocalBracketSize) / kBracketQuantumSize - 1) in SizeToIndexAndBracketSize()
601 (size <= kMaxRegularBracketSize && bracket_size - size < kBracketQuantumSize)) << idx; in SizeToIndexAndBracketSize()
689 static constexpr size_t kBracketQuantumSize = 16; variable
Drosalloc.cc1634 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()