Home
last modified time | relevance | path

Searched refs:to_space_ (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/heap/
Dspaces.h2388 to_space_(heap, kToSpace), in NewSpace()
2407 return to_space_.HasBeenSetUp() && from_space_.HasBeenSetUp(); in HasBeenSetUp()
2422 DCHECK_GE(top(), to_space_.page_low()); in Size()
2423 return to_space_.pages_used() * Page::kAllocatableMemory + in Size()
2424 static_cast<size_t>(top() - to_space_.page_low()); in Size()
2431 SLOW_DCHECK(to_space_.current_capacity() == from_space_.current_capacity()); in Capacity()
2432 return (to_space_.current_capacity() / Page::kPageSize) * in Capacity()
2439 DCHECK(to_space_.current_capacity() == from_space_.current_capacity()); in TotalCapacity()
2440 return to_space_.current_capacity(); in TotalCapacity()
2446 return from_space_.CommittedMemory() + to_space_.CommittedMemory(); in CommittedMemory()
[all …]
Dspaces.cc1506 to_space_.SetUp(initial_semispace_capacity, maximum_semispace_capacity); in AllocateChunk()
1508 if (!to_space_.Commit()) { in AllocateChunk()
1539 to_space_.TearDown(); in AllocateChunk()
1543 void NewSpace::Flip() { SemiSpace::Swap(&from_space_, &to_space_); } in AllocateChunk()
1552 if (to_space_.GrowTo(new_capacity)) { in AllocateChunk()
1557 if (!to_space_.ShrinkTo(from_space_.current_capacity())) { in AllocateChunk()
1564 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in AllocateChunk()
1572 to_space_.ShrinkTo(rounded_new_capacity)) { in AllocateChunk()
1578 if (!to_space_.GrowTo(from_space_.current_capacity())) { in AllocateChunk()
1585 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in AllocateChunk()
[all …]
Dspaces-inl.h158 return from_space_.ContainsSlow(a) || to_space_.ContainsSlow(a); in ContainsSlow()
162 return to_space_.ContainsSlow(a); in ToSpaceContainsSlow()
169 bool NewSpace::ToSpaceContains(Object* o) { return to_space_.Contains(o); } in ToSpaceContains()
542 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in AllocateRawAligned()
567 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in AllocateRawUnaligned()