Home
last modified time | relevance | path

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

/external/v8/test/cctest/heap/
Dtest-spaces.cc556 CHECK_EQ(spaces[i]->Get(id)->accounting_stats_.Size(), 0); in MergeCompactionSpaces()
557 CHECK_EQ(spaces[i]->Get(id)->accounting_stats_.Capacity(), 0); in MergeCompactionSpaces()
571 CHECK_EQ(spaces[i]->Get(id)->accounting_stats_.Size(), in AllocateInCompactionSpaces()
573 CHECK_GE(spaces[i]->Get(id)->accounting_stats_.Capacity(), in AllocateInCompactionSpaces()
574 spaces[i]->Get(id)->accounting_stats_.Size()); in AllocateInCompactionSpaces()
585 *capacity += spaces[i]->Get(id)->accounting_stats_.Capacity(); in CompactionStats()
586 *size += spaces[i]->Get(id)->accounting_stats_.Size(); in CompactionStats()
603 intptr_t rest_capacity = old_space->accounting_stats_.Capacity() - in TestCompactionSpaceDivide()
604 old_space->accounting_stats_.Size(); in TestCompactionSpaceDivide()
611 intptr_t initial_old_space_capacity = old_space->accounting_stats_.Capacity(); in TestCompactionSpaceDivide()
[all …]
/external/v8/src/heap/
Dspaces.cc959 accounting_stats_.Clear(); in AllocateChunk()
980 accounting_stats_.Clear(); in AllocateChunk()
985 accounting_stats_.ExpandSpace(static_cast<int>(size)); in AllocateChunk()
993 accounting_stats_.DecreaseCapacity(free_space->size()); in AllocateChunk()
1052 accounting_stats_.IncreaseCapacity(added); in AllocateChunk()
1092 other->accounting_stats_.DecreaseCapacity(added); in AllocateChunk()
1093 accounting_stats_.IncreaseCapacity(added); in AllocateChunk()
1105 accounting_stats_.Merge(other->accounting_stats_); in AllocateChunk()
1106 other->accounting_stats_.Clear(); in AllocateChunk()
1228 accounting_stats_.ExpandSpace(size); in AllocateChunk()
[all …]
Dspaces.h1981 intptr_t Capacity() { return accounting_stats_.Capacity(); } in Capacity()
1994 accounting_stats_.ClearSize(); in ClearStats()
2001 accounting_stats_.DeallocateBytes(bytes); in AddToAccountingStats()
2014 intptr_t Size() override { return accounting_stats_.Size(); } in Size()
2060 accounting_stats_.DeallocateBytes(size_in_bytes); in Free()
2083 void Allocate(int bytes) { accounting_stats_.AllocateBytes(bytes); } in Allocate()
2204 AllocationStats accounting_stats_; variable
Dmark-compact.cc3922 space->accounting_stats_.ShrinkSpace(to_sweep); in StartSweepSpace()