Home
last modified time | relevance | path

Searched refs:area_size (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/v8/src/heap/
Dspaces-inl.h139 DCHECK(page->area_size() <= kMaxRegularHeapObjectSize); in Initialize()
141 owner->IncreaseCapacity(page->area_size()); in Initialize()
142 owner->Free(page->area_start(), page->area_size()); in Initialize()
Dmark-compact.cc735 intptr_t area_size = space->AreaSize(); in FreeListFragmentation() local
737 ratio = (sizes.medium_size_ * 10 + sizes.large_size_ * 2) * 100 / area_size; in FreeListFragmentation()
740 ratio = (sizes.small_size_ * 5 + sizes.medium_size_) * 100 / area_size; in FreeListFragmentation()
748 static_cast<double>(sizes.small_size_ * 100) / area_size, in FreeListFragmentation()
750 static_cast<double>(sizes.medium_size_ * 100) / area_size, in FreeListFragmentation()
752 static_cast<double>(sizes.large_size_ * 100) / area_size, in FreeListFragmentation()
754 static_cast<double>(sizes.huge_size_ * 100) / area_size, in FreeListFragmentation()
758 if (FLAG_always_compact && sizes.Total() != area_size) { in FreeListFragmentation()
860 free_bytes = (p->area_size() - p->LiveBytes()); in CollectEvacuationCandidates()
867 int free_pct = static_cast<int>(free_bytes * 100) / p->area_size(); in CollectEvacuationCandidates()
[all …]
Dspaces.h633 int area_size() { return static_cast<int>(area_end() - area_start()); } in area_size() function
1836 unswept_free_bytes_ += (p->area_size() - p->LiveBytes()); in IncreaseUnsweptFreeBytes()
1843 unswept_free_bytes_ -= (p->area_size() - p->LiveBytes()); in DecreaseUnsweptFreeBytes()
Dspaces.cc1063 DCHECK(AreaSize() == page->area_size()); in ReleasePage()
1106 DCHECK(AreaSize() == page->area_size()); in FreeEmergencyMemory()
2405 if (sum < p->area_size()) { in EvictFreeListItems()
2850 DCHECK(page->area_size() >= object_size); in AllocateRaw()
/external/chromium_org/v8/test/cctest/
Dtest-spaces.cc187 CHECK(static_cast<size_t>(memory_chunk->area_size()) == commit_area_size); in VerifyMemoryChunk()
197 CHECK(static_cast<size_t>(memory_chunk->area_size()) == in VerifyMemoryChunk()