/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 | 33 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 34 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 35 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F()
|
D | globals.h | 28 static constexpr size_t MB = KB * KB; variable
|
D | utils.cc | 229 10*MB, // MB up to... in PrettySize() 232 static const uint64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 132 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 403 ASSERT_LT(b_diff, 128 * MB); in TestNopsAdrpInsn2AndUseHasThunk() 654 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; in TEST_F() 672 ASSERT_LT(diff, 128 * MB); in TEST_F() 689 constexpr uint32_t max_positive_disp = 128 * MB - 4u; in TEST_F() 715 constexpr uint32_t max_negative_disp = 128 * MB; in TEST_F() 741 constexpr uint32_t just_over_max_positive_disp = 128 * MB; in TEST_F() 772 ASSERT_LT(diff, 128 * MB); in TEST_F() 787 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; in TEST_F() 802 ASSERT_LT(diff, 128 * MB); in TEST_F() [all …]
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 71 size_t heap_capacity = 16 * MB; in TYPED_TEST() 98 size_t heap_capacity = 16 * MB; in TYPED_TEST() 130 size_t heap_capacity = 16 * MB; in TYPED_TEST() 195 size_t heap_capacity = 16 * MB; in RunTest()
|
D | mod_union_table_test.cc | 189 "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/arm/ |
D | relative_patcher_thumb2_test.cc | 165 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 493 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */; in TEST_F() 529 constexpr uint32_t max_positive_disp = 16 * MB - 2u + 4u /* PC adjustment */; in TEST_F() 551 constexpr uint32_t max_negative_disp = 16 * MB - 4u /* PC adjustment */; in TEST_F() 577 constexpr uint32_t just_over_max_positive_disp = 16 * MB + 4u /* PC adjustment */; in TEST_F() 607 ASSERT_GE(diff, 16 * MB - (1u << 22)); // Simple encoding, unknown bits fit into imm10:imm11:0. in TEST_F() 623 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */; in TEST_F() 1003 1 * MB - (kLiteralOffset2 + kPcAdjustment) in TEST_F() 1022 EXPECT_EQ(2 * MB, last_method_offset - first_method_offset); in TEST_F() 1106 1 * MB - (kReachableFromOffset2 + kPcAdjustment) in TEST_F() [all …]
|
/art/dex2oat/utils/ |
D | swap_space_test.cc | 40 SwapSpace pool(fd, 1 * MB); in SwapTest()
|
D | swap_space.cc | 33 static constexpr size_t kMinimumMapSize = 16 * MB;
|
/art/test/175-alloc-big-bignums/ |
D | info.txt | 5 The test allocates roughly 10GB of native memory, approximately 1MB of which
|
/art/tools/ |
D | buildbot-setup-device.sh | 129 buffer_size=16MB 131 buffer_size=32MB
|
/art/compiler/utils/ |
D | assembler.cc | 82 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
|
/art/runtime/ |
D | parsed_options_test.cc | 95 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize); in TEST_F() 96 EXPECT_PARSED_EQ(200 * MB, Opt::StopForNativeAllocs); in TEST_F()
|
D | thread_pool.h | 78 static const size_t kDefaultStackSize = 1 * MB;
|
D | native_gc_triggering.md | 59 `NativeAllocationGcWatermark()`. The latter is HeapMaxFree (typically 32MB) plus 1/8 of the 61 the 50-100 MB range for something other than a low-end device.
|
/art/libdexfile/dex/ |
D | standard_dex_file.h | 114 return Size() + (HasHiddenapiClassData() ? 1 * MB : 0); in GetDequickenedSize()
|
D | compact_dex_file.h | 286 return 64 * MB; in GetDequickenedSize()
|
/art/runtime/base/ |
D | gc_visited_arena_pool.h | 141 static constexpr size_t kLow4GBLinearAllocPoolSize = 32 * MB; 143 static constexpr size_t kLinearAllocPoolSize = 32 * MB;
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 256 throughput /= MB; in Run() 261 throughput = current_iteration->GetEstimatedThroughput() / MB; in Run()
|
/art/runtime/jit/ |
D | jit_memory_region.cc | 322 if (current_capacity_ < 1 * MB) { in IncreaseCodeCacheCapacity() 325 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() 481 MemoryKiB(16 * MB), "-Xjitmaxsize:16M", M::JITCodeCacheMaxCapacity); in TEST_F()
|