Searched refs:IsFlagSet (Results 1 – 18 of 18) sorted by relevance
178 bool IsFlagSet(Flag flag) const { return main_thread_flags_ & flag; } in IsFlagSet() function193 bool InReadOnlySpaceRaw() const { return IsFlagSet(READ_ONLY_HEAP); } in InReadOnlySpaceRaw()202 return IsFlagSet(READ_ONLY_HEAP); in InReadOnlySpace()205 bool NeverEvacuate() const { return IsFlagSet(NEVER_EVACUATE); } in NeverEvacuate()210 return !IsEvacuationCandidate() && !IsFlagSet(NEVER_ALLOCATE_ON_PAGE); in CanAllocate()214 DCHECK(!(IsFlagSet(NEVER_EVACUATE) && IsFlagSet(EVACUATION_CANDIDATE))); in IsEvacuationCandidate()215 return IsFlagSet(EVACUATION_CANDIDATE); in IsEvacuationCandidate()225 return IsFlagSet(IS_EXECUTABLE) ? EXECUTABLE : NOT_EXECUTABLE; in executable()228 bool IsFromPage() const { return IsFlagSet(FROM_PAGE); } in IsFromPage()229 bool IsToPage() const { return IsFlagSet(TO_PAGE); } in IsToPage()[all …]
61 DCHECK(!current_page->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)); in EnsureCurrentCapacity()378 CHECK(page->IsFlagSet(is_from_space ? MemoryChunk::FROM_PAGE in Verify()380 CHECK(!page->IsFlagSet(is_from_space ? MemoryChunk::TO_PAGE in Verify()382 CHECK(page->IsFlagSet(MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING)); in Verify()387 CHECK(page->IsFlagSet(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING)); in Verify()390 !page->IsFlagSet(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING)); in Verify()733 CHECK(!Page::FromAllocationAreaAddress(current)->IsFlagSet( in Verify()735 CHECK(!Page::FromAllocationAreaAddress(current)->IsFlagSet( in Verify()777 CHECK(!page->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION)); in Verify()778 CHECK(!page->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)); in Verify()
163 bool pooled = chunk->IsFlagSet(MemoryChunk::POOLED); in PerformFreeMemoryOnQueuedChunks()407 if (chunk->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in PartialFreeMemory()435 DCHECK(!chunk->IsFlagSet(MemoryChunk::UNREGISTERED)); in UnregisterBasicMemoryChunk()464 DCHECK(!chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in FreeReadOnlyPage()483 DCHECK(!chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in PreFreeMemory()492 DCHECK(chunk->IsFlagSet(MemoryChunk::UNREGISTERED)); in PerformFreeMemory()493 DCHECK(chunk->IsFlagSet(MemoryChunk::PRE_FREED)); in PerformFreeMemory()498 if (chunk->IsFlagSet(MemoryChunk::POOLED)) { in PerformFreeMemory()
328 return page->IsFlagSet(MemoryChunk::NEW_SPACE_BELOW_AGE_MARK) && in ShouldBePromoted()360 if (object_page->IsFlagSet(Page::NEW_SPACE_BELOW_AGE_MARK)) { in FindAllocationMemento()405 chunk->IsFlagSet(MemoryChunk::PAGE_NEW_NEW_PROMOTION)); in UpdateAllocationSite()407 chunk->IsFlagSet(MemoryChunk::PAGE_NEW_OLD_PROMOTION)); in UpdateAllocationSite()608 DCHECK(page->IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in CodeSpaceMemoryModificationScope()622 DCHECK(page->IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in ~CodeSpaceMemoryModificationScope()660 chunk_->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in CodePageMemoryModificationScope()
68 DCHECK(!IsFlagSet(NEVER_ALLOCATE_ON_PAGE)); in MarkNeverAllocateForTesting()75 DCHECK(!IsFlagSet(NEVER_EVACUATE)); in MarkEvacuationCandidate()83 if (!IsFlagSet(COMPACTION_WAS_ABORTED)) { in ClearEvacuationCandidate()
283 DCHECK(page->IsFlagSet(MemoryChunk::FROM_PAGE)); in PromoteNewLargeObject()284 DCHECK(!page->IsFlagSet(MemoryChunk::TO_PAGE)); in PromoteNewLargeObject()330 DCHECK(!current->IsFlagSet(Page::IS_EXECUTABLE)); in FreeUnmarkedObjects()467 CHECK(!chunk->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION)); in Verify()468 CHECK(!chunk->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)); in Verify()
839 !p->IsFlagSet(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING)); in CollectEvacuationCandidates()863 if (p->IsFlagSet(MemoryChunk::PINNED)) { in CollectEvacuationCandidates()875 if (p->IsFlagSet(MemoryChunk::FORCE_EVACUATION_CANDIDATE_FOR_TESTING)) { in CollectEvacuationCandidates()1525 p->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION) || p->IsLargePage()); in RecordMigratedSlot()1532 p->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in RecordMigratedSlot()1717 if (page->IsFlagSet(Page::COMPACTION_WAS_ABORTED_FOR_TESTING)) { in AbortCompactionForTesting()3215 Page::FromHeapObject(heap_obj)->IsFlagSet( in UpdateSlot()3570 if (chunk->IsFlagSet(MemoryChunk::PAGE_NEW_OLD_PROMOTION)) in ComputeEvacuationMode()3572 if (chunk->IsFlagSet(MemoryChunk::PAGE_NEW_NEW_PROMOTION)) in ComputeEvacuationMode()3678 chunk->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION) || in EvacuatePage()[all …]
131 if (p->IsFlagSet(Page::NEVER_ALLOCATE_ON_PAGE)) { in RefillFreeList()190 !p->IsFlagSet(Page::NEVER_ALLOCATE_ON_PAGE), in MergeCompactionSpace()340 DCHECK(page->IsFlagSet(Page::NEVER_EVACUATE)); in ShrinkImmortalImmovablePages()798 CHECK(!page->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION)); in Verify()799 CHECK(!page->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)); in Verify()
75 DCHECK_IMPLIES(!page->IsFlagSet(Page::NEVER_ALLOCATE_ON_PAGE), in RelinkFreeListCategories()
109 if (!chunk->IsFlagSet(MemoryChunk::NEVER_EVACUATE)) return false; in IsImmortalImmovableHeapObject()
550 CHECK(!page->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION)); in Verify()551 CHECK(!page->IsFlagSet(Page::PAGE_NEW_NEW_PROMOTION)); in Verify()761 DCHECK(chunk->IsFlagSet(Page::NEVER_EVACUATE)); in ShrinkPages()
49 DCHECK(IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in DecrementWriteUnprotectCounterAndMaybeSetPermissions()83 DCHECK(IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in SetCodeModificationPermissions()
358 DCHECK(chunk->IsFlagSet(MemoryChunk::IS_EXECUTABLE)); in RegisterExecutableMemoryChunk()
77 target_page->IsFlagSet(MemoryChunk::IS_EXECUTABLE)) { in RecordSlot()
485 DCHECK(Heap::IsLargeObject(obj) || Page::FromHeapObject(obj)->IsFlagSet( in UpdateMarkingWorklistAfterYoungGenGC()498 Page::FromHeapObject(obj)->IsFlagSet(Page::PAGE_NEW_OLD_PROMOTION)) { in UpdateMarkingWorklistAfterYoungGenGC()
496 if (page->IsFlagSet(Page::NEVER_ALLOCATE_ON_PAGE)) { in ParallelSweepSpace()
141 !MemoryChunk::FromHeapObject(target)->IsFlagSet( in HandleSlot()
7432 CHECK_EQ(chunk->IsFlagSet(MemoryChunk::INCREMENTAL_MARKING), in PageFlagsAreConsistent()