Lines Matching refs:MemoryChunk
81 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWriteFromCode()
83 if (counter < (MemoryChunk::kWriteBarrierCounterGranularity / 2)) { in RecordWriteFromCode()
85 MemoryChunk::kWriteBarrierCounterGranularity - in RecordWriteFromCode()
88 MemoryChunk::kWriteBarrierCounterGranularity); in RecordWriteFromCode()
141 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in RecordWrites()
142 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in RecordWrites()
159 MemoryChunk::IncrementLiveBytesFromGC(obj, -obj_size); in BlackToGreyAndUnshift()
194 MemoryChunk::IncrementLiveBytesFromGC(heap_obj, -heap_obj->Size()); in MarkObjectGreyDoNotEnqueue()
206 MemoryChunk::IncrementLiveBytesFromGC(heap_object, size); in MarkBlackOrKeepBlack()
223 MemoryChunk* chunk = MemoryChunk::FromAddress(object->address()); in VisitFixedArrayIncremental()
228 chunk->SetFlag(MemoryChunk::HAS_PROGRESS_BAR); in VisitFixedArrayIncremental()
230 if (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR)) { in VisitFixedArrayIncremental()
311 MemoryChunk::IncrementLiveBytesFromGC(heap_object, heap_object->Size()); in INLINE()
348 void IncrementalMarking::SetOldSpacePageFlags(MemoryChunk* chunk, in SetOldSpacePageFlags()
352 chunk->SetFlag(MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING); in SetOldSpacePageFlags()
353 chunk->SetFlag(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING); in SetOldSpacePageFlags()
355 chunk->ClearFlag(MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING); in SetOldSpacePageFlags()
356 chunk->SetFlag(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING); in SetOldSpacePageFlags()
361 void IncrementalMarking::SetNewSpacePageFlags(MemoryChunk* chunk, in SetNewSpacePageFlags()
363 chunk->SetFlag(MemoryChunk::POINTERS_TO_HERE_ARE_INTERESTING); in SetNewSpacePageFlags()
365 chunk->SetFlag(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING); in SetNewSpacePageFlags()
367 chunk->ClearFlag(MemoryChunk::POINTERS_FROM_HERE_ARE_INTERESTING); in SetNewSpacePageFlags()
369 chunk->SetFlag(MemoryChunk::SCAN_ON_SCAVENGE); in SetNewSpacePageFlags()
811 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in UpdateMarkingDequeAfterScavenge()
814 (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR) && in UpdateMarkingDequeAfterScavenge()
830 MemoryChunk* chunk = MemoryChunk::FromAddress(obj->address()); in VisitObject()
833 (chunk->IsFlagSet(MemoryChunk::HAS_PROGRESS_BAR) && in VisitObject()
914 MemoryChunk::IncrementLiveBytesFromGC(poly_cache, in Hurry()
928 MemoryChunk::IncrementLiveBytesFromGC(cache, cache->Size()); in Hurry()