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.cc565 if (kUsePrefetchDuringAllocRun && idx < kNumThreadLocalSizeBrackets) { in AllocRun()
667 if (LIKELY(idx < kNumThreadLocalSizeBrackets)) { in AllocFromRun()
779 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in FreeFromRun()
1113 DCHECK_LT(run->size_bracket_idx_, kNumThreadLocalSizeBrackets); in BulkFree()
1516 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in RevokeThreadLocalRuns()
1579 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in RevokeThreadUnsafeCurrentRuns()
1607 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; idx++) { in AssertThreadLocalRunsAreRevoked()
1624 for (size_t idx = 0; idx < kNumThreadLocalSizeBrackets; ++idx) { in AssertAllThreadLocalRunsAreRevoked()
1636 if (i < kNumThreadLocalSizeBrackets) { in Initialize()
1639 bracketSizes[i] = kBracketQuantumSize * (i - kNumThreadLocalSizeBrackets + 1) + in Initialize()
[all …]
Drosalloc-inl.h65 DCHECK_LT(idx, kNumThreadLocalSizeBrackets); in CanAllocFromThreadLocalRun()