Home
last modified time | relevance | path

Searched refs:kObjectAreaSize (Results 1 – 6 of 6) sorted by relevance

/external/v8/test/cctest/
Dtest-serialize.cc605 page_fullness > Page::kObjectAreaSize) { in TEST()
623 page_fullness > Page::kObjectAreaSize) { in TEST()
641 page_fullness > Page::kObjectAreaSize) { in TEST()
652 if (size > Page::kObjectAreaSize) { in TEST()
/external/v8/src/
Dspaces.h254 static const int kObjectAreaSize = kPageSize - kObjectStartOffset; variable
257 static const int kMaxHeapObjectSize = kObjectAreaSize;
615 return (Available() / Page::kPageSize) * Page::kObjectAreaSize; in MaxAvailable()
1976 page_extra_ = Page::kObjectAreaSize % object_size_in_bytes; in FixedSpace()
2137 static const int kMapsPerPage = Page::kObjectAreaSize / Map::kSize;
Dspaces.cc803 * Page::kObjectAreaSize; in PagedSpace()
829 static_cast<int>(max_capacity_ / Page::kObjectAreaSize)); in Setup()
840 accounting_stats_.ExpandSpace(num_pages * Page::kObjectAreaSize); in Setup()
1009 ASSERT(max_capacity_ % Page::kObjectAreaSize == 0); in Expand()
1010 ASSERT(Capacity() % Page::kObjectAreaSize == 0); in Expand()
1019 static_cast<int>((max_capacity_ - Capacity()) / Page::kObjectAreaSize); in Expand()
1030 accounting_stats_.ExpandSpace(desired_pages * Page::kObjectAreaSize); in Expand()
1088 accounting_stats_.ShrinkSpace(pages_to_free * Page::kObjectAreaSize); in Shrink()
1089 ASSERT(Capacity() == CountTotalPages() * Page::kObjectAreaSize); in Shrink()
Dserialize.cc1562 CHECK(size <= Page::kObjectAreaSize); in Allocate()
1563 if (used_in_this_page + size > Page::kObjectAreaSize) { in Allocate()
Dobjects-inl.h1098 ASSERT(0 <= offset && offset < Page::kObjectAreaSize); in EncodeAddress()
1134 ASSERT(offset < static_cast<uintptr_t>(Page::kObjectAreaSize)); in DecodeOffset()
Dmark-compact.cc1741 ASSERT(*offset <= Page::kObjectAreaSize); in EncodeForwardingAddressInPagedSpace()