Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.h518 (size <= kMaxRegularBracketSize && size % kBracketQuantumSize == 0) || in BracketSizeToIndex()
530 DCHECK_EQ((size - kMaxThreadLocalBracketSize) % kBracketQuantumSize, 0U); in BracketSizeToIndex()
531 idx = ((size - kMaxThreadLocalBracketSize) / kBracketQuantumSize - 1) in BracketSizeToIndex()
550 return RoundUp(size, kBracketQuantumSize); in RoundToBracketSize()
564 return (RoundUp(size, kBracketQuantumSize) - kMaxThreadLocalBracketSize) / kBracketQuantumSize in SizeToIndex()
582 bracket_size = RoundUp(size, kBracketQuantumSize); in SizeToIndexAndBracketSize()
583 idx = ((bracket_size - kMaxThreadLocalBracketSize) / kBracketQuantumSize - 1) in SizeToIndexAndBracketSize()
600 (size <= kMaxRegularBracketSize && bracket_size - size < kBracketQuantumSize)) << idx; in SizeToIndexAndBracketSize()
688 static constexpr size_t kBracketQuantumSize = 16; variable
Drosalloc.cc1628 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()