/art/runtime/gc/space/ |
D | space_test.h | 132 std::unique_ptr<Space> space(create_space("test", 16 * MB, 32 * MB, 32 * MB, nullptr)); in InitTestBody() 137 std::unique_ptr<Space> space(create_space("test", 16 * MB, 16 * MB, 16 * MB, nullptr)); in InitTestBody() 142 std::unique_ptr<Space> space(create_space("test", 32 * MB, 16 * MB, 16 * MB, nullptr)); in InitTestBody() 147 std::unique_ptr<Space> space(create_space("test", 16 * MB, 16 * MB, 32 * MB, nullptr)); in InitTestBody() 152 std::unique_ptr<Space> space(create_space("test", 16 * MB, 8 * MB, 32 * MB, nullptr)); in InitTestBody() 157 std::unique_ptr<Space> space(create_space("test", 8 * MB, 16 * MB, 32 * MB, nullptr)); in InitTestBody() 162 std::unique_ptr<Space> space(create_space("test", 8 * MB, 32 * MB, 16 * MB, nullptr)); in InitTestBody() 173 MallocSpace* space(create_space("test", 4 * MB, 16 * MB, 16 * MB, nullptr)); in ZygoteSpaceTestBody() 185 hs.NewHandle(Alloc(space, self, 1 * MB, &ptr1_bytes_allocated, &ptr1_usable_size))); in ZygoteSpaceTestBody() 187 EXPECT_LE(1U * MB, ptr1_bytes_allocated); in ZygoteSpaceTestBody() [all …]
|
D | large_object_space_test.cc | 41 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); in LargeObjectTest() 88 mirror::Object* obj = los->Alloc(Thread::Current(), 100 * MB, &bytes_allocated, nullptr); in LargeObjectTest() 131 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); in RaceTest()
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 34 size_t heap_capacity = 16 * MB; in TEST_F() 61 size_t heap_capacity = 16 * MB; in TEST_F() 116 size_t heap_capacity = 16 * MB; in RunTest()
|
D | card_table_test.cc | 50 CardTableTest() : heap_begin_(reinterpret_cast<byte*>(0x2000000)), heap_size_(2 * MB) { in CardTableTest()
|
/art/runtime/ |
D | globals.h | 32 static constexpr size_t MB = KB * KB; variable
|
D | utils_test.cc | 164 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 165 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 166 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F()
|
D | parsed_options_test.cc | 66 EXPECT_EQ(1 * MB, parsed->stack_size_); in TEST_F()
|
D | common_runtime_test.cc | 194 std::string min_heap_string(StringPrintf("-Xms%zdm", gc::Heap::kDefaultInitialSize / MB)); in SetUp() 195 std::string max_heap_string(StringPrintf("-Xmx%zdm", gc::Heap::kDefaultMaximumSize / MB)); in SetUp()
|
D | thread_pool.h | 40 static const size_t kDefaultStackSize = 1 * MB;
|
D | parsed_options.cc | 79 mul = MB; in ParseMemoryOption() 271 method_trace_file_size_ = 10 * MB; in Parse()
|
D | utils.cc | 460 static const int64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
D | thread.cc | 212 stack_size += 1 * MB; in FixStackSize()
|
/art/runtime/gc/ |
D | heap.h | 134 static constexpr size_t kDefaultInitialSize = 2 * MB; 135 static constexpr size_t kDefaultMaximumSize = 256 * MB; 136 static constexpr size_t kDefaultNonMovingSpaceCapacity = 64 * MB; 137 static constexpr size_t kDefaultMaxFree = 2 * MB;
|
D | heap.cc | 104 static constexpr size_t kGSSBumpPointerSpaceCapacity = 32 * MB; 171 : (kVerifyObjectSupport > kVerifyObjectModeFast) ? KB : MB), in Heap() 269 request_begin = reinterpret_cast<byte*>(300 * MB); in Heap()
|
/art/compiler/utils/ |
D | assembler.cc | 85 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 58 static constexpr size_t kBytesPromotedThreshold = 4 * MB; 59 static constexpr size_t kLargeObjectBytesAllocatedThreshold = 16 * MB;
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 402 static constexpr size_t kDefaultPageReleaseSizeThreshold = 4 * MB;
|
D | rosalloc.cc | 171 size_t increment = std::min(std::max(2 * MB, req_byte_size - last_free_page_run_size), in AllocPages()
|