/art/runtime/gc/space/ |
D | space_create_test.cc | 62 std::unique_ptr<Space> space(CreateSpace("test", 16 * MB, 32 * MB, 32 * MB)); in TEST_P() 65 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 16 * MB)); in TEST_P() 68 space.reset(CreateSpace("test", 32 * MB, 16 * MB, 16 * MB)); in TEST_P() 71 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 32 * MB)); in TEST_P() 74 space.reset(CreateSpace("test", 16 * MB, 8 * MB, 32 * MB)); in TEST_P() 77 space.reset(CreateSpace("test", 8 * MB, 16 * MB, 32 * MB)); in TEST_P() 80 space.reset(CreateSpace("test", 8 * MB, 32 * MB, 16 * MB)); in TEST_P() 91 MallocSpace* space(CreateSpace("test", 4 * MB, 16 * MB, 16 * MB)); in TEST_P() 104 1 * MB, in TEST_P() 109 EXPECT_LE(1U * MB, ptr1_bytes_allocated); in TEST_P() [all …]
|
D | space_test.h | 325 size_t initial_size = 4 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() 326 size_t growth_limit = 8 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() 327 size_t capacity = 16 * MB; in SizeFootPrintGrowthLimitAndTrimDriver() 370 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1MB, spaceName, spaceFn, 1 * MB) \ 371 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4MB, spaceName, spaceFn, 4 * MB) \ 372 TEST_SizeFootPrintGrowthLimitAndTrimStatic(8MB, spaceName, spaceFn, 8 * MB) 385 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1MB, spaceName, spaceFn, 1 * MB) \ 386 TEST_SizeFootPrintGrowthLimitAndTrimRandom(4MB, spaceName, spaceFn, 4 * MB) \ 387 TEST_SizeFootPrintGrowthLimitAndTrimRandom(8MB, spaceName, spaceFn, 8 * MB)
|
D | large_object_space_test.cc | 41 const size_t capacity = 128 * MB; in LargeObjectTest() 115 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr, in LargeObjectTest() 160 los = space::FreeListSpace::Create("large object space", 128 * MB); in RaceTest()
|
/art/libartbase/base/ |
D | utils_test.cc | 31 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 32 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 33 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F()
|
D | globals.h | 26 static constexpr size_t MB = KB * KB; variable
|
D | utils.cc | 218 10*MB, // MB up to... in PrettySize() 221 static const int64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 35 size_t heap_capacity = 16 * MB; in TEST_F() 62 size_t heap_capacity = 16 * MB; in TEST_F() 93 size_t heap_capacity = 16 * MB; in TEST_F() 159 size_t heap_capacity = 16 * MB; in RunTest()
|
D | mod_union_table_test.cc | 188 "other space", 128 * KB, 4 * MB, 4 * MB, /*can_move_objects=*/ false)); in RunTest()
|
D | card_table_test.cc | 52 CardTableTest() : heap_begin_(reinterpret_cast<uint8_t*>(0x2000000)), heap_size_(2 * MB) { in CardTableTest()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 132 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 397 ASSERT_LT(b_diff, 128 * MB); in TestNopsAdrpInsn2AndUseHasThunk() 640 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; in TEST_F() 658 ASSERT_LT(diff, 128 * MB); in TEST_F() 675 constexpr uint32_t max_positive_disp = 128 * MB - 4u; in TEST_F() 701 constexpr uint32_t max_negative_disp = 128 * MB; in TEST_F() 727 constexpr uint32_t just_over_max_positive_disp = 128 * MB; in TEST_F() 756 ASSERT_LT(diff, 128 * MB); in TEST_F() 771 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; in TEST_F() 786 ASSERT_LT(diff, 128 * MB); in TEST_F() [all …]
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 165 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 472 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */; in TEST_F() 508 constexpr uint32_t max_positive_disp = 16 * MB - 2u + 4u /* PC adjustment */; in TEST_F() 530 constexpr uint32_t max_negative_disp = 16 * MB - 4u /* PC adjustment */; in TEST_F() 556 constexpr uint32_t just_over_max_positive_disp = 16 * MB + 4u /* PC adjustment */; in TEST_F() 585 ASSERT_GE(diff, 16 * MB - (1u << 22)); // Simple encoding, unknown bits fit into imm10:imm11:0. in TEST_F() 601 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */; in TEST_F() 970 1 * MB - (kLiteralOffset2 + kPcAdjustment) in TEST_F() 989 EXPECT_EQ(2 * MB, last_method_offset - first_method_offset); in TEST_F() 1070 1 * MB - (kReachableFromOffset2 + kPcAdjustment) in TEST_F() [all …]
|
/art/tools/ |
D | buildbot-setup-device.sh | 88 buffer_size=16MB 90 buffer_size=32MB
|
/art/test/175-alloc-big-bignums/ |
D | info.txt | 5 The test allocates roughly 10GB of native memory, approximately 1MB of which
|
/art/compiler/utils/ |
D | swap_space_test.cc | 41 SwapSpace pool(fd, 1 * MB); in SwapTest()
|
D | assembler.cc | 79 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
|
D | swap_space.cc | 32 static constexpr size_t kMininumMapSize = 16 * MB;
|
/art/runtime/ |
D | parsed_options_test.cc | 93 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize); in TEST_F() 94 EXPECT_PARSED_EQ(200 * MB, Opt::StopForNativeAllocs); in TEST_F()
|
D | thread_pool.h | 77 static const size_t kDefaultStackSize = 1 * MB;
|
D | dexopt_test.cc | 200 uint64_t reservation_end = ART_BASE_ADDRESS + 384 * MB; in ReserveImageSpace()
|
/art/libdexfile/dex/ |
D | standard_dex_file.h | 110 return Size() + (HasHiddenapiClassData() ? 1 * MB : 0); in GetDequickenedSize()
|
D | compact_dex_file.h | 265 return 64 * MB; in GetDequickenedSize()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 319 if (current_capacity_ < 1 * MB) { in IncreaseCodeCacheCapacity() 322 current_capacity_ += 1 * MB; in IncreaseCodeCacheCapacity()
|
/art/cmdline/ |
D | cmdline_parser_test.cc | 234 EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(1234*MB), "-Xms1234m", M::MemoryInitialSize); in TEST_F() 479 MemoryKiB(16 * MB), "-Xjitmaxsize:16M", M::JITCodeCacheMaxCapacity); in TEST_F()
|
/art/compiler/driver/ |
D | compiled_method_storage.cc | 148 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)), in CompiledMethodStorage()
|
/art/runtime/gc/ |
D | heap.h | 137 static constexpr size_t kDefaultInitialSize = 2 * MB; 138 static constexpr size_t kDefaultMaximumSize = 256 * MB; 139 static constexpr size_t kDefaultNonMovingSpaceCapacity = 64 * MB; 140 static constexpr size_t kDefaultMaxFree = 2 * MB;
|