Searched refs:kMaxSize (Results 1 – 2 of 2) sorted by relevance
28 template <typename T, const size_t kMaxSize>30 static_assert(IsPowerOfTwo(kMaxSize), "kMaxSize must be a power of 2.");52 DCHECK_LE(size_, kMaxSize); in push_back()68 static const size_t mask_ = kMaxSize - 1;70 T data_[kMaxSize];
691 static const size_t kMaxSize = 1 * KB; member in art::gc::collector::MarkSweep::MarkStackTask771 StackReference<mirror::Object> mark_stack_[kMaxSize];777 if (UNLIKELY(mark_stack_pos_ == kMaxSize)) { in MarkStackPush()782 kMaxSize - mark_stack_pos_, in MarkStackPush()787 DCHECK_LT(mark_stack_pos_, kMaxSize); in MarkStackPush()898 const size_t mark_stack_delta = std::min(CardScanTask::kMaxSize / 2, in ScanGrayObjects()1396 static_cast<size_t>(MarkStackTask<false>::kMaxSize)); in ProcessMarkStackParallel()