Home
last modified time | relevance | path

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

/art/runtime/gc/allocator/
Drosalloc-inl.h66 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in CanAllocFromThreadLocalRun() local
70 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in CanAllocFromThreadLocalRun()
71 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in CanAllocFromThreadLocalRun()
73 DCHECK(thread_local_run != nullptr); in CanAllocFromThreadLocalRun()
74 DCHECK(thread_local_run->IsThreadLocal() || thread_local_run == dedicated_full_run_); in CanAllocFromThreadLocalRun()
75 return !thread_local_run->IsFull(); in CanAllocFromThreadLocalRun()
86 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in AllocFromThreadLocalRun() local
90 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromThreadLocalRun()
91 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromThreadLocalRun()
93 DCHECK(thread_local_run != nullptr); in AllocFromThreadLocalRun()
[all …]
Drosalloc.cc665 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in AllocFromRun() local
670 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromRun()
671 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromRun()
673 DCHECK(thread_local_run != nullptr); in AllocFromRun()
674 DCHECK(thread_local_run->IsThreadLocal() || thread_local_run == dedicated_full_run_); in AllocFromRun()
675 slot_addr = thread_local_run->AllocSlot(); in AllocFromRun()
677 DCHECK(thread_local_run != dedicated_full_run_ || slot_addr == nullptr) in AllocFromRun()
681 DCHECK(thread_local_run->IsFull()); in AllocFromRun()
685 if (thread_local_run->MergeThreadLocalFreeListToFreeList(&is_all_free_after_merge)) { in AllocFromRun()
686 DCHECK_NE(thread_local_run, dedicated_full_run_); in AllocFromRun()
[all …]