Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc.h533 + kNumThreadLocalSizeBrackets; in BracketSizeToIndex()
542 (is_size_for_thread_local == (SizeToIndex(size) < kNumThreadLocalSizeBrackets))); in IsSizeForThreadLocal()
566 - 1 + kNumThreadLocalSizeBrackets; in SizeToIndex()
585 + kNumThreadLocalSizeBrackets; in SizeToIndexAndBracketSize()
664 static const size_t kNumThreadLocalSizeBrackets = 16; variable
665 static_assert(kNumThreadLocalSizeBrackets == kNumRosAllocThreadLocalSizeBracketsInThread,
Drosalloc.cc561 if (kUsePrefetchDuringAllocRun && idx < kNumThreadLocalSizeBrackets) { in AllocRun()
663 if (LIKELY(idx < kNumThreadLocalSizeBrackets)) { in AllocFromRun()
775 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in FreeFromRun()
1109 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in BulkFree()
1511 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in RevokeThreadLocalRuns()
1574 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in RevokeThreadUnsafeCurrentRuns()
1602 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in AssertThreadLocalRunsAreRevoked()
1619 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in AssertAllThreadLocalRunsAreRevoked()
1631 if (i < kNumThreadLocalSizeBrackets) { in Initialize()
1634 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()
[all …]
Drosalloc-inl.h65 DCHECK_LT(idx, kNumThreadLocalSizeBrackets); in CanAllocFromThreadLocalRun()