Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.h520 (size <= kMaxRegularBracketSize && size % kBracketQuantumSize == 0) || in BracketSizeToIndex()
532 DCHECK_EQ((size - kMaxThreadLocalBracketSize) % kBracketQuantumSize, 0U); in BracketSizeToIndex()
533 idx = ((size - kMaxThreadLocalBracketSize) / kBracketQuantumSize - 1) in BracketSizeToIndex()
552 return RoundUp(size, kBracketQuantumSize); in RoundToBracketSize()
566 return (RoundUp(size, kBracketQuantumSize) - kMaxThreadLocalBracketSize) / kBracketQuantumSize in SizeToIndex()
584 bracket_size = RoundUp(size, kBracketQuantumSize); in SizeToIndexAndBracketSize()
585 idx = ((bracket_size - kMaxThreadLocalBracketSize) / kBracketQuantumSize - 1) in SizeToIndexAndBracketSize()
602 (size <= kMaxRegularBracketSize && bracket_size - size < kBracketQuantumSize)) << idx; in SizeToIndexAndBracketSize()
690 static constexpr size_t kBracketQuantumSize = 16; variable
Drosalloc.cc1634 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()