/external/v8/src/heap/ |
store-buffer-inl.h | 16 DCHECK(!heap_->code_space()->Contains(addr)); 17 Address* top = reinterpret_cast<Address*>(heap_->store_buffer_top()); 19 heap_->set_store_buffer_top(reinterpret_cast<Smi*>(top)); 37 SLOW_DCHECK(!heap_->code_space()->Contains(addr) && 38 !heap_->new_space()->Contains(addr)); 46 (*callback_)(heap_, MemoryChunk::FromAnyPointerAddress(heap_, addr),
|
incremental-marking.cc | 28 : heap_(heap), 71 heap_->mark_compact_collector()->RecordSlot(obj, slot, value); 98 RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); 106 Code* host = heap_->isolate() 109 RelocInfo rinfo(heap_->isolate(), pc, RelocInfo::CODE_TARGET, 0, host); 120 heap_->mark_compact_collector()->RecordCodeEntrySlot( 131 heap_->mark_compact_collector()->RecordRelocSlot(rinfo, 164 if (bytes_rescanned_ > 2 * heap_->PromotedSpaceSizeOfObjects()) { 179 heap_->mark_compact_collector()->marking_deque()->Unshift(obj); 185 heap_->mark_compact_collector()->marking_deque()->Push(obj) 339 Heap* heap_; member in class:v8::internal::IncrementalMarkingRootMarkingVisitor [all...] |
scavenger.h | 18 explicit Scavenger(Heap* heap) : heap_(heap) {} 37 Heap* heap() { return heap_; } 40 Heap* heap_; member in class:v8::internal::Scavenger 49 explicit ScavengeVisitor(Heap* heap) : heap_(heap) {} 57 Heap* heap_; member in class:v8::internal::ScavengeVisitor
|
gc-tracer.cc | 26 start_time_ = tracer_->heap_->MonotonicallyIncreasingTimeInMs(); 33 tracer_->heap_->MonotonicallyIncreasingTimeInMs() - start_time_; 110 : heap_(heap), 130 current_.end_time = heap_->MonotonicallyIncreasingTimeInMs(); 141 double start_time = heap_->MonotonicallyIncreasingTimeInMs(); 142 SampleAllocation(start_time, heap_->NewSpaceAllocationCounter(), 143 heap_->OldGenerationAllocationCounter()); 150 if (heap_->incremental_marking()->WasActivated()) { 158 current_.reduce_memory = heap_->ShouldReduceMemory(); 160 current_.start_object_size = heap_->SizeOfObjects() [all...] |
store-buffer.cc | 20 : heap_(heap), 92 heap_->set_store_buffer_top(reinterpret_cast<Smi*>(start_)); 109 heap_->set_store_buffer_top(reinterpret_cast<Smi*>(start_)); 145 PointerChunkIterator it(heap_); 185 PointerChunkIterator it(heap_); 198 containing_chunk = MemoryChunk::FromAnyPointerAddress(heap_, addr); 210 heap_->isolate()->CountUsage( 226 containing_chunk = MemoryChunk::FromAnyPointerAddress(heap_, addr); 243 PointerChunkIterator it(heap_); 296 heap_->InNewSpace(object) [all...] |
array-buffer-tracker.h | 21 explicit ArrayBufferTracker(Heap* heap) : heap_(heap) {} 24 inline Heap* heap() { return heap_; } 50 Heap* heap_; member in class:v8::internal::ArrayBufferTracker
|
object-stats.h | 17 explicit ObjectStats(Heap* heap) : heap_(heap) {} 72 Heap* heap() { return heap_; } 75 Heap* heap_; member in class:v8::internal::ObjectStats
|
mark-compact.cc | 59 heap_(heap), 74 explicit VerifyMarkingVisitor(Heap* heap) : heap_(heap) {} 80 CHECK(heap_->mark_compact_collector()->IsMarked(object)); 102 Heap* heap_; member in class:v8::internal::VerifyMarkingVisitor 246 free_list_old_space_.Reset(new FreeList(heap_->old_space())); 247 free_list_code_space_.Reset(new FreeList(heap_->code_space())); 248 free_list_map_space_.Reset(new FreeList(heap_->map_space())); 317 heap_->store_buffer()->ClearInvalidStoreBufferEntries(); 326 SlotsBuffer::RemoveInvalidSlots(heap_, p->slots_buffer()); 370 DCHECK(heap_->incremental_marking()->IsStopped()) 518 Heap* heap_; member in class:v8::internal::MarkCompactCollector::SweeperTask 1476 Heap* heap_; member in class:v8::internal::StringTableCleaner 1572 Heap* heap_; member in class:v8::internal::MarkCompactCollector::EvacuateVisitorBase 2855 Heap* heap_; member in class:v8::internal::PointersUpdatingVisitor [all...] |
/system/core/libmemunreachable/tests/ |
LeakFolding_test.cpp | 26 LeakFoldingTest() : disable_malloc_(), heap_() {} 29 ASSERT_TRUE(heap_.empty()); 37 Heap heap_; member in class:LeakFoldingTest 48 HeapWalker heap_walker(heap_); 52 LeakFolding folding(heap_, heap_walker); 56 allocator::vector<LeakFolding::Leak> leaked(heap_); 72 HeapWalker heap_walker(heap_); 77 LeakFolding folding(heap_, heap_walker); 81 allocator::vector<LeakFolding::Leak> leaked(heap_); 101 HeapWalker heap_walker(heap_); [all...] |
HeapWalker_test.cpp | 28 HeapWalkerTest() : disable_malloc_(), heap_() {} 31 ASSERT_TRUE(heap_.empty()); 39 Heap heap_; member in class:HeapWalkerTest 43 HeapWalker heap_walker(heap_); 52 HeapWalker heap_walker(heap_); 66 HeapWalker heap_walker(heap_); 83 HeapWalker heap_walker(heap_); 88 allocator::vector<Range> leaked(heap_); 110 HeapWalker heap_walker(heap_); 116 allocator::vector<Range> leaked(heap_); [all...] |
/external/v8/src/ |
identity-map.cc | 18 if (keys_) heap_->UnregisterStrongRoots(keys_); 36 CHECK_NE(address, heap_->not_mapped_symbol()); 45 Object* not_mapped = heap_->not_mapped_symbol(); 59 Object* not_mapped = heap_->not_mapped_symbol(); 88 gc_counter_ = heap_->gc_count(); 91 Object* not_mapped = heap_->not_mapped_symbol(); 96 heap_->RegisterStrongRoots(keys_, keys_ + size_); 103 if (gc_counter_ != heap_->gc_count()) Rehash(); 119 if (result == nullptr && gc_counter_ != heap_->gc_count()) { 129 gc_counter_ = heap_->gc_count() [all...] |
isolate-inl.h | 36 thread_local_top_.pending_exception_ = heap_.the_hole_value(); 47 thread_local_top_.pending_message_obj_ = heap_.the_hole_value(); 60 return thread_local_top_.scheduled_exception_ != heap_.the_hole_value(); 66 thread_local_top_.scheduled_exception_ = heap_.the_hole_value();
|
identity-map.h | 28 : heap_(heap), 50 Heap* heap_; member in class:v8::internal::IdentityMapBase
|
/system/core/libmemunreachable/ |
Allocator.h | 113 heap_(heap) { 119 heap_(other.heap_) { 126 return reinterpret_cast<T*>(heap_.allocate(n * sizeof(T))); 130 heap_.deallocate(ptr); 135 return heap_ == other.heap_; 146 Heap heap_; 172 using STLAllocator<T>::heap_; 178 heap_.deallocate(ptr) [all...] |
/art/runtime/gc/accounting/ |
remembered_set.h | 51 : name_(name), heap_(heap), space_(space) {} 68 return heap_; 77 Heap* const heap_; member in class:art::gc::accounting::RememberedSet
|
heap_bitmap.h | 67 explicit HeapBitmap(Heap* heap) : heap_(heap) {} 70 const Heap* const heap_; member in class:art::gc::accounting::HeapBitmap
|
mod_union_table.h | 53 heap_(heap), 88 return heap_; 97 Heap* const heap_; member in class:art::gc::accounting::ModUnionTable
|
/art/runtime/gc/collector/ |
garbage_collector.cc | 60 : heap_(heap), 124 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); 125 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); 135 heap_->GetLiveBitmap()->ReplaceLargeObjectBitmap(live_set, mark_set); 136 heap_->GetMarkBitmap()->ReplaceLargeObjectBitmap(mark_set, live_set); 169 return heap_->GetCurrentGcIteration(); 172 return heap_->GetCurrentGcIteration(); 177 heap_->RecordFree(freed.objects, freed.bytes); 181 heap_->RecordFree(freed.objects, freed.bytes);
|
mark_compact.cc | 107 mark_stack_ = heap_->GetMarkStack(); 113 mark_bitmap_ = heap_->GetMarkBitmap(); 119 heap_->GetReferenceProcessor()->ProcessReferences( 169 heap_->ProcessCards(GetTimings(), false, false, true); 173 heap_->GetCardTable()->ClearCardTable(); 178 heap_->RevokeAllThreadLocalAllocationStacks(self); 181 heap_->SwapStacks(); 201 // heap_->PreSweepingGcVerification(this); 206 for (auto& space : heap_->GetContinuousSpaces()) { 209 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space) [all...] |
concurrent_copying.cc | 56 rb_table_(heap_->GetReadBarrierTable()), 137 for (const auto& space : heap_->GetContinuousSpaces()) { 271 ThreadFlipVisitor thread_flip_visitor(this, heap_->use_tlab_); 273 heap_->ThreadFlipBegin(self); // Sync with JNI critical calls. 276 heap_->ThreadFlipEnd(self); 291 heap_->SwapStacks(); 296 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); 313 DCHECK(collector_->heap_->GetMarkBitmap()->Test(obj)) 365 for (space::ContinuousSpace* space : heap_->GetContinuousSpaces()) { 543 heap_->rb_table_->ClearAll() [all...] |
mark_sweep.cc | 114 mark_stack_ = heap_->GetMarkStack(); 135 mark_bitmap_ = heap_->GetMarkBitmap(); 198 heap_->SwapStacks(); 199 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); 204 heap_->PreSweepingGcVerification(this); 222 heap_->ProcessCards(GetTimings(), false, true, false); 250 heap_->RevokeAllThreadLocalAllocationStacks(self); 261 heap_->ProcessCards(GetTimings(), false, true, GetGcType() != kGcTypeSticky); 296 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); 348 if (space != heap_->GetNonMovingSpace()) [all...] |
semi_space.cc | 146 mark_stack_ = heap_->GetMarkStack(); 160 mark_bitmap_ = heap_->GetMarkBitmap(); 229 heap_->ProcessCards(GetTimings(), kUseRememberedSet && generational_, false, true); 233 heap_->GetCardTable()->ClearCardTable(); 238 heap_->RevokeAllThreadLocalAllocationStacks(self_); 240 heap_->SwapStacks(); 279 heap_->PreSweepingGcVerification(this); 281 heap_->SwapSemiSpaces(); 331 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); 332 heap_->MarkAllocStackAsLive(live_stack) [all...] |
concurrent_copying-inl.h | 35 DCHECK(heap_->collector_type_ == kCollectorTypeCC); 66 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref))
|
mark_sweep-inl.h | 35 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces();
|
/art/patchoat/ |
patchoat.h | 68 : oat_file_(oat_file), image_(nullptr), bitmap_(nullptr), heap_(nullptr), delta_(delta), 72 : image_(image), bitmap_(bitmap), heap_(heap), 77 : oat_file_(oat_file), image_(image), bitmap_(bitmap), heap_(heap), 138 DCHECK_GT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->Begin())); 139 DCHECK_LT(reinterpret_cast<uintptr_t>(obj), reinterpret_cast<uintptr_t>(heap_->End())); 141 reinterpret_cast<uintptr_t>(obj) - reinterpret_cast<uintptr_t>(heap_->Begin()); 218 const MemMap* const heap_; member in class:art::PatchOat
|