Home
last modified time | relevance | path

Searched refs:accounting_stats_ (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/heap/
Dpaged-spaces.h92 size_t Capacity() { return accounting_stats_.Capacity(); } in NON_EXPORTED_BASE()
103 accounting_stats_.ClearSize(); in NON_EXPORTED_BASE()
117 size_t Size() override { return accounting_stats_.Size(); } in NON_EXPORTED_BASE()
167 accounting_stats_.DecreaseAllocatedBytes(size_in_bytes, page); in NON_EXPORTED_BASE()
191 accounting_stats_.DecreaseAllocatedBytes(bytes, page); in NON_EXPORTED_BASE()
194 accounting_stats_.IncreaseAllocatedBytes(bytes, page); in NON_EXPORTED_BASE()
197 accounting_stats_.DecreaseCapacity(bytes); in NON_EXPORTED_BASE()
200 accounting_stats_.IncreaseCapacity(bytes); in NON_EXPORTED_BASE()
399 AllocationStats accounting_stats_; in NON_EXPORTED_BASE() local
Dread-only-spaces.cc291 accounting_stats_.Clear(); in TearDown()
299 accounting_stats_.Clear(); in TearDown()
312 artifacts->Initialize(heap->isolate(), std::move(pages_), accounting_stats_); in DetachPagesAndAddToArtifacts()
543 DCHECK_LE(real_allocated, accounting_stats_.AllocatedOnPage(page)); in VerifyCounters()
544 DCHECK_EQ(page->allocated_bytes(), accounting_stats_.AllocatedOnPage(page)); in VerifyCounters()
546 DCHECK_EQ(total_capacity, accounting_stats_.Capacity()); in VerifyCounters()
547 DCHECK_EQ(total_allocated, accounting_stats_.Size()); in VerifyCounters()
598 accounting_stats_.IncreaseCapacity(chunk->area_size()); in EnsureSpaceForAllocation()
623 accounting_stats_.IncreaseAllocatedBytes(allocated_size, chunk); in TryAllocateLinearlyAligned()
670 accounting_stats_.IncreaseAllocatedBytes(size_in_bytes, chunk); in AllocateRawUnaligned()
[all …]
Dpaged-spaces.cc89 accounting_stats_.Clear(); in PagedSpace()
98 accounting_stats_.Clear(); in TearDown()
282 accounting_stats_.DecreaseCapacity(static_cast<intptr_t>(unused)); in ShrinkPageToHighWaterMark()
462 accounting_stats_.DecreaseCapacity(page->area_size()); in ReleasePage()
775 DCHECK_LE(real_allocated, accounting_stats_.AllocatedOnPage(page)); in VerifyCountersAfterSweeping()
776 DCHECK_EQ(page->allocated_bytes(), accounting_stats_.AllocatedOnPage(page)); in VerifyCountersAfterSweeping()
778 DCHECK_EQ(total_capacity, accounting_stats_.Capacity()); in VerifyCountersAfterSweeping()
779 DCHECK_EQ(total_allocated, accounting_stats_.Size()); in VerifyCountersAfterSweeping()
799 DCHECK_EQ(page_allocated, accounting_stats_.AllocatedOnPage(page)); in VerifyCountersBeforeConcurrentSweeping()
801 DCHECK_EQ(total_capacity, accounting_stats_.Capacity()); in VerifyCountersBeforeConcurrentSweeping()
[all …]
Dread-only-spaces.h208 size_t Size() override { return accounting_stats_.Size(); } in Size()
241 AllocationStats accounting_stats_; variable