Home
last modified time | relevance | path

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

/ark/runtime_core/runtime/tests/
Dpygote_space_allocator_test_base.h91 [[maybe_unused]] auto pygote_space_allocator = GetPygoteSpaceAllocator(); in InitAllocTest() local
96 …ASSERT_TRUE(pygote_space_allocator->ContainObject(static_cast<ObjectHeader *>(non_movable_header))… in InitAllocTest()
97 ASSERT_TRUE(pygote_space_allocator->IsLive(static_cast<ObjectHeader *>(non_movable_header))); in InitAllocTest()
101 … ASSERT_FALSE(pygote_space_allocator->ContainObject(static_cast<ObjectHeader *>(movable_header))); in InitAllocTest()
103 pygote_space_allocator->Free(non_movable_header); in InitAllocTest()
104 …ASSERT_TRUE(pygote_space_allocator->ContainObject(static_cast<ObjectHeader *>(non_movable_header))… in InitAllocTest()
105 ASSERT_FALSE(pygote_space_allocator->IsLive(static_cast<ObjectHeader *>(non_movable_header))); in InitAllocTest()
110 [[maybe_unused]] auto pygote_space_allocator = GetPygoteSpaceAllocator(); in ForkedAllocTest() local
117 …ASSERT_FALSE(pygote_space_allocator->ContainObject(static_cast<ObjectHeader *>(non_movable_header)… in ForkedAllocTest()
121 … ASSERT_FALSE(pygote_space_allocator->ContainObject(static_cast<ObjectHeader *>(movable_header))); in ForkedAllocTest()
[all …]
/ark/runtime_core/runtime/mem/gc/
Dgc.cpp165 auto pygote_space_allocator = object_allocator_->GetPygoteSpaceAllocator(); in BindBitmaps() local
166 if (pygote_space_allocator != nullptr) { in BindBitmaps()
170 pygote_space_allocator->ClearLiveBitmaps(); in BindBitmaps()
172 auto &bitmaps = pygote_space_allocator->GetLiveBitmaps(); in BindBitmaps()
568 auto pygote_space_allocator = object_allocator_->GetPygoteSpaceAllocator(); in WaitForGCOnPygoteFork() local
569 if (pygote_space_allocator == nullptr) { in WaitForGCOnPygoteFork()
574 if (pygote_space_allocator->GetState() != PygoteSpaceState::STATE_PYGOTE_INIT) { in WaitForGCOnPygoteFork()
584 pygote_space_allocator->SetState(PygoteSpaceState::STATE_PYGOTE_FORKING); in WaitForGCOnPygoteFork()
593 pygote_space_allocator->SetState(PygoteSpaceState::STATE_PYGOTE_FORKED); in WaitForGCOnPygoteFork()
603 auto pygote_space_allocator = object_allocator_->GetPygoteSpaceAllocator(); in IsOnPygoteFork() local
[all …]