/external/v8/src/heap/ |
D | incremental-marking.cc | 28 : heap_(heap), in IncrementalMarking() 71 heap_->mark_compact_collector()->RecordSlot(obj, slot, value); in RecordWriteSlow() 98 RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); in RecordCodeTargetPatch() 106 Code* host = heap_->isolate() in RecordCodeTargetPatch() 109 RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); in RecordCodeTargetPatch() 120 heap_->mark_compact_collector()->RecordCodeEntrySlot( in RecordWriteOfCodeEntrySlow() 131 heap_->mark_compact_collector()->RecordRelocSlot(rinfo, in RecordWriteIntoCodeSlow() 164 if (bytes_rescanned_ > 2 * heap_->PromotedSpaceSizeOfObjects()) { in BlackToGreyAndUnshift() 179 heap_->mark_compact_collector()->marking_deque()->Unshift(obj); in BlackToGreyAndUnshift() 185 heap_->mark_compact_collector()->marking_deque()->Push(obj); in WhiteToGreyAndPush() [all …]
|
D | gc-tracer.cc | 26 start_time_ = tracer_->heap_->MonotonicallyIncreasingTimeInMs(); in Scope() 33 tracer_->heap_->MonotonicallyIncreasingTimeInMs() - start_time_; in ~Scope() 110 : heap_(heap), in GCTracer() 130 current_.end_time = heap_->MonotonicallyIncreasingTimeInMs(); in GCTracer() 141 double start_time = heap_->MonotonicallyIncreasingTimeInMs(); in Start() 142 SampleAllocation(start_time, heap_->NewSpaceAllocationCounter(), in Start() 143 heap_->OldGenerationAllocationCounter()); in Start() 150 if (heap_->incremental_marking()->WasActivated()) { in Start() 158 current_.reduce_memory = heap_->ShouldReduceMemory(); in Start() 160 current_.start_object_size = heap_->SizeOfObjects(); in Start() [all …]
|
D | store-buffer.cc | 20 : heap_(heap), in StoreBuffer() 92 heap_->set_store_buffer_top(reinterpret_cast<Smi*>(start_)); in SetUp() 109 heap_->set_store_buffer_top(reinterpret_cast<Smi*>(start_)); in TearDown() 145 PointerChunkIterator it(heap_); in EnsureSpace() 185 PointerChunkIterator it(heap_); in ExemptPopularPages() 198 containing_chunk = MemoryChunk::FromAnyPointerAddress(heap_, addr); in ExemptPopularPages() 210 heap_->isolate()->CountUsage( in ExemptPopularPages() 226 containing_chunk = MemoryChunk::FromAnyPointerAddress(heap_, addr); in Filter() 243 PointerChunkIterator it(heap_); in PrepareForIteration() 296 heap_->InNewSpace(object); in VerifyPointers() [all …]
|
D | store-buffer-inl.h | 16 DCHECK(!heap_->code_space()->Contains(addr)); in Mark() 17 Address* top = reinterpret_cast<Address*>(heap_->store_buffer_top()); in Mark() 19 heap_->set_store_buffer_top(reinterpret_cast<Smi*>(top)); in Mark() 37 SLOW_DCHECK(!heap_->code_space()->Contains(addr) && in EnterDirectlyIntoStoreBuffer() 38 !heap_->new_space()->Contains(addr)); in EnterDirectlyIntoStoreBuffer() 46 (*callback_)(heap_, MemoryChunk::FromAnyPointerAddress(heap_, addr), in EnterDirectlyIntoStoreBuffer()
|
D | scavenger.h | 18 explicit Scavenger(Heap* heap) : heap_(heap) {} in Scavenger() 37 Heap* heap() { return heap_; } in heap() 40 Heap* heap_; 49 explicit ScavengeVisitor(Heap* heap) : heap_(heap) {} in ScavengeVisitor() 57 Heap* heap_; variable
|
D | mark-compact.cc | 59 heap_(heap), in MarkCompactCollector() 74 explicit VerifyMarkingVisitor(Heap* heap) : heap_(heap) {} in VerifyMarkingVisitor() 80 CHECK(heap_->mark_compact_collector()->IsMarked(object)); in VisitPointers() 102 Heap* heap_; member in v8::internal::VerifyMarkingVisitor 246 free_list_old_space_.Reset(new FreeList(heap_->old_space())); in SetUp() 247 free_list_code_space_.Reset(new FreeList(heap_->code_space())); in SetUp() 248 free_list_map_space_.Reset(new FreeList(heap_->map_space())); in SetUp() 317 heap_->store_buffer()->ClearInvalidStoreBufferEntries(); in ClearInvalidStoreAndSlotsBufferEntries() 326 SlotsBuffer::RemoveInvalidSlots(heap_, p->slots_buffer()); in ClearInvalidStoreAndSlotsBufferEntries() 370 DCHECK(heap_->incremental_marking()->IsStopped()); in CollectGarbage() [all …]
|
D | array-buffer-tracker.h | 21 explicit ArrayBufferTracker(Heap* heap) : heap_(heap) {} in ArrayBufferTracker() 24 inline Heap* heap() { return heap_; } in heap() 50 Heap* heap_;
|
D | memory-reducer.h | 110 : heap_(heap), in MemoryReducer() 129 Heap* heap() { return heap_; } in heap() 154 Heap* heap_; variable
|
D | object-stats.h | 17 explicit ObjectStats(Heap* heap) : heap_(heap) {} in ObjectStats() 72 Heap* heap() { return heap_; } in heap() 75 Heap* heap_;
|
D | heap-inl.h | 563 if (heap_->InNewSpace(string)) { in AddString() 589 DCHECK(heap_->InNewSpace(obj)); in Verify() 590 DCHECK(obj != heap_->the_hole_value()); in Verify() 594 DCHECK(!heap_->InNewSpace(obj)); in Verify() 595 DCHECK(obj != heap_->the_hole_value()); in Verify() 603 DCHECK(!heap_->InNewSpace(string)); in AddOldString() 699 : heap_(isolate->heap()) { in AlwaysAllocateScope() 700 heap_->always_allocate_scope_count_.Increment(1); in AlwaysAllocateScope() 705 heap_->always_allocate_scope_count_.Increment(-1); in ~AlwaysAllocateScope()
|
D | heap.cc | 59 : InlineAllocationObserver(step_size), heap_(heap) {} in IdleScavengeObserver() 62 heap_.ScheduleIdleScavengeIfNeeded(bytes_allocated); in Step() 66 Heap& heap_; member in v8::internal::IdleScavengeObserver 540 explicit PretenuringScope(Heap* heap) : heap_(heap) { in PretenuringScope() 541 heap_->global_pretenuring_feedback_ = in PretenuringScope() 546 delete heap_->global_pretenuring_feedback_; in ~PretenuringScope() 547 heap_->global_pretenuring_feedback_ = nullptr; in ~PretenuringScope() 551 Heap* heap_; member in v8::internal::Heap::PretenuringScope 785 explicit GCCallbacksScope(Heap* heap) : heap_(heap) { in GCCallbacksScope() 786 heap_->gc_callbacks_depth_++; in GCCallbacksScope() [all …]
|
D | heap.h | 499 heap_(heap) {} in PromotionQueue() 584 Heap* heap_; variable 647 explicit RelocationLock(Heap* heap) : heap_(heap) { in RelocationLock() 648 heap_->relocation_mutex_.Lock(); in RelocationLock() 651 ~RelocationLock() { heap_->relocation_mutex_.Unlock(); } in ~RelocationLock() 654 Heap* heap_; 1606 explicit ExternalStringTable(Heap* heap) : heap_(heap) {} in ExternalStringTable() 1620 Heap* heap_; variable 2484 Heap* heap_; 2510 explicit AllSpaces(Heap* heap) : heap_(heap), counter_(FIRST_SPACE) {} in AllSpaces() [all …]
|
D | spaces-inl.h | 221 if (!scan_on_scavenge()) heap_->increment_scan_on_scavenge_pages(); in set_scan_on_scavenge() 224 if (scan_on_scavenge()) heap_->decrement_scan_on_scavenge_pages(); in set_scan_on_scavenge() 227 heap_->incremental_marking()->SetOldSpacePageFlags(this); in set_scan_on_scavenge() 334 return heap_->PrecedeWithFiller(HeapObject::FromAddress(current_top), in AllocateRawAligned()
|
D | incremental-marking.h | 211 Heap* heap() const { return heap_; } in heap() 269 Heap* heap_; variable
|
D | store-buffer.h | 100 Heap* heap_;
|
D | mark-compact.h | 370 inline Heap* heap() const { return heap_; } in heap() 773 Heap* heap_; variable
|
D | spaces.cc | 460 chunk->heap_ = heap; in Initialize() 522 CodeRange* code_range = heap_->isolate()->code_range(); in CommitArea() 529 heap_->isolate()->memory_allocator()->ZapBlock(start, length); in CommitArea() 539 CodeRange* code_range = heap_->isolate()->code_range(); in CommitArea() 1483 heap_->CreateFillerObjectAt( in AllocateChunk() 1492 : heap_(heap), allocation_info_(allocation_info) { in AllocateChunk() 1494 heap_->CreateFillerObjectAt( in AllocateChunk() 1510 heap_ = other.heap_; in AllocateChunk()
|
/external/v8/src/ |
D | identity-map.cc | 18 if (keys_) heap_->UnregisterStrongRoots(keys_); in ~IdentityMapBase() 36 CHECK_NE(address, heap_->not_mapped_symbol()); in Hash() 45 Object* not_mapped = heap_->not_mapped_symbol(); in LookupIndex() 59 Object* not_mapped = heap_->not_mapped_symbol(); in InsertIndex() 88 gc_counter_ = heap_->gc_count(); in GetEntry() 91 Object* not_mapped = heap_->not_mapped_symbol(); in GetEntry() 96 heap_->RegisterStrongRoots(keys_, keys_ + size_); in GetEntry() 103 if (gc_counter_ != heap_->gc_count()) Rehash(); in GetEntry() 119 if (result == nullptr && gc_counter_ != heap_->gc_count()) { in FindEntry() 129 gc_counter_ = heap_->gc_count(); in Rehash() [all …]
|
D | isolate-inl.h | 36 thread_local_top_.pending_exception_ = heap_.the_hole_value(); in clear_pending_exception() 47 thread_local_top_.pending_message_obj_ = heap_.the_hole_value(); in clear_pending_message() 60 return thread_local_top_.scheduled_exception_ != heap_.the_hole_value(); in has_scheduled_exception() 66 thread_local_top_.scheduled_exception_ = heap_.the_hole_value(); in clear_scheduled_exception()
|
D | identity-map.h | 28 : heap_(heap), in IdentityMapBase() 50 Heap* heap_; variable
|
D | isolate.cc | 886 return Throw(heap_.termination_exception(), nullptr); in TerminateExecution() 895 pending_exception() == heap_.termination_exception()) { in CancelTerminateExecution() 900 scheduled_exception() == heap_.termination_exception()) { in CancelTerminateExecution() 1516 pending_exception() == heap_.termination_exception(); in OptionalRescheduleException() 1802 heap_.isolate_ = this; in Isolate() 1888 if (heap_.mark_compact_collector()->sweeping_in_progress()) { in Deinit() 1889 heap_.mark_compact_collector()->EnsureSweepingCompleted(); in Deinit() 1922 heap_.TearDown(); in Deinit() 2110 heap_.SetStackLimits(); in Init() 2161 DCHECK(!heap_.HasBeenSetUp()); in Init() [all …]
|
D | string-builder.cc | 14 Isolate* isolate = heap_->isolate(); in ToString()
|
D | string-builder.h | 195 : heap_(heap), in ReplacementStringBuilder() 262 Heap* heap_; variable
|
/external/v8/src/profiler/ |
D | heap-snapshot-generator.cc | 368 heap_(heap) { in HeapObjectsMap() 482 heap_->CollectAllGarbage(Heap::kMakeHeapIterableMask, in UpdateHeapObjectsMap() 484 HeapIterator iterator(heap_); in UpdateHeapObjectsMap() 553 HeapIterator iterator(heap_); in FindUntrackedObjects() 701 heap_->HashSeed()); in GenerateId() 785 : heap_(snapshot->profiler()->heap_object_map()->heap()), in V8HeapExplorer() 1105 PrototypeIterator iter(heap_->isolate(), js_obj); in ExtractJSObjectReferences() 1106 SetPropertyReference(obj, entry, heap_->proto_string(), iter.GetCurrent()); in ExtractJSObjectReferences() 1131 heap_->prototype_string(), proto_or_map, in ExtractJSObjectReferences() 1137 heap_->prototype_string(), js_fun->prototype()); in ExtractJSObjectReferences() [all …]
|
D | heap-snapshot-generator.h | 218 Heap* heap() const { return heap_; } in heap() 265 Heap* heap_; variable 460 Heap* heap_; variable 563 Heap* heap_; variable
|