Home
last modified time | relevance | path

Searched refs:kNumThreadLocalSizeBrackets (Results 1 – 3 of 3) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.h534 + kNumThreadLocalSizeBrackets; in BracketSizeToIndex()
543 (is_size_for_thread_local == (SizeToIndex(size) < kNumThreadLocalSizeBrackets))); in IsSizeForThreadLocal()
567 - 1 + kNumThreadLocalSizeBrackets; in SizeToIndex()
586 + kNumThreadLocalSizeBrackets; in SizeToIndexAndBracketSize()
665 static const size_t kNumThreadLocalSizeBrackets = 16; variable
666 static_assert(kNumThreadLocalSizeBrackets == kNumRosAllocThreadLocalSizeBracketsInThread,
Drosalloc.cc559 if (kUsePrefetchDuringAllocRun && idx < kNumThreadLocalSizeBrackets) { in AllocRun()
661 if (LIKELY(idx < kNumThreadLocalSizeBrackets)) { in AllocFromRun()
773 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in FreeFromRun()
1107 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in BulkFree()
1510 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in RevokeThreadLocalRuns()
1573 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in RevokeThreadUnsafeCurrentRuns()
1601 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in AssertThreadLocalRunsAreRevoked()
1618 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in AssertAllThreadLocalRunsAreRevoked()
1630 if (i < kNumThreadLocalSizeBrackets) { in Initialize()
1633 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()
[all …]
Drosalloc-inl.h65 DCHECK_LT(idx, kNumThreadLocalSizeBrackets); in CanAllocFromThreadLocalRun()