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.h77 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in CanAllocFromThreadLocalRun() local
81 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in CanAllocFromThreadLocalRun()
82 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in CanAllocFromThreadLocalRun()
84 DCHECK(thread_local_run != nullptr); in CanAllocFromThreadLocalRun()
85 DCHECK(thread_local_run->IsThreadLocal() || thread_local_run == dedicated_full_run_); in CanAllocFromThreadLocalRun()
86 return !thread_local_run->IsFull(); in CanAllocFromThreadLocalRun()
97 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in AllocFromThreadLocalRun() local
101 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromThreadLocalRun()
102 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromThreadLocalRun()
104 DCHECK(thread_local_run != nullptr); in AllocFromThreadLocalRun()
[all …]
Drosalloc.cc674 Run* thread_local_run = reinterpret_cast<Run*>(self->GetRosAllocRun(idx)); in AllocFromRun() local
679 CHECK(non_full_runs_[idx].find(thread_local_run) == non_full_runs_[idx].end()); in AllocFromRun()
680 CHECK(full_runs_[idx].find(thread_local_run) == full_runs_[idx].end()); in AllocFromRun()
682 DCHECK(thread_local_run != nullptr); in AllocFromRun()
683 DCHECK(thread_local_run->IsThreadLocal() || thread_local_run == dedicated_full_run_); in AllocFromRun()
684 slot_addr = thread_local_run->AllocSlot(); in AllocFromRun()
686 DCHECK(thread_local_run != dedicated_full_run_ || slot_addr == nullptr) in AllocFromRun()
690 DCHECK(thread_local_run->IsFull()); in AllocFromRun()
694 if (thread_local_run->MergeThreadLocalFreeBitMapToAllocBitMap(&is_all_free_after_merge)) { in AllocFromRun()
695 DCHECK_NE(thread_local_run, dedicated_full_run_); in AllocFromRun()
[all …]