Home
last modified time | relevance | path

Searched refs:MB (Results 1 – 25 of 48) sorted by relevance

12

/art/runtime/gc/space/
Dspace_create_test.cc62 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 …]
Dspace_test.h325 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)
Dlarge_object_space_test.cc41 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/
Dutils_test.cc33 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()
Dglobals.h28 static constexpr size_t MB = KB * KB; variable
Dutils.cc229 10*MB, // MB up to... in PrettySize()
232 static const uint64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc132 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/
Dspace_bitmap_test.cc71 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()
Dmod_union_table_test.cc189 "other space", 128 * KB, 4 * MB, 4 * MB, /*can_move_objects=*/ false)); in RunTest()
Dcard_table_test.cc52 CardTableTest() : heap_begin_(reinterpret_cast<uint8_t*>(0x2000000)), heap_size_(2 * MB) { in CardTableTest()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc165 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/
Dswap_space_test.cc40 SwapSpace pool(fd, 1 * MB); in SwapTest()
Dswap_space.cc33 static constexpr size_t kMinimumMapSize = 16 * MB;
/art/test/175-alloc-big-bignums/
Dinfo.txt5 The test allocates roughly 10GB of native memory, approximately 1MB of which
/art/tools/
Dbuildbot-setup-device.sh129 buffer_size=16MB
131 buffer_size=32MB
/art/compiler/utils/
Dassembler.cc82 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
/art/runtime/
Dparsed_options_test.cc95 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize); in TEST_F()
96 EXPECT_PARSED_EQ(200 * MB, Opt::StopForNativeAllocs); in TEST_F()
Dthread_pool.h78 static const size_t kDefaultStackSize = 1 * MB;
Dnative_gc_triggering.md59 `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/
Dstandard_dex_file.h114 return Size() + (HasHiddenapiClassData() ? 1 * MB : 0); in GetDequickenedSize()
Dcompact_dex_file.h286 return 64 * MB; in GetDequickenedSize()
/art/runtime/base/
Dgc_visited_arena_pool.h141 static constexpr size_t kLow4GBLinearAllocPoolSize = 32 * MB;
143 static constexpr size_t kLinearAllocPoolSize = 32 * MB;
/art/runtime/gc/collector/
Dgarbage_collector.cc256 throughput /= MB; in Run()
261 throughput = current_iteration->GetEstimatedThroughput() / MB; in Run()
/art/runtime/jit/
Djit_memory_region.cc322 if (current_capacity_ < 1 * MB) { in IncreaseCodeCacheCapacity()
325 current_capacity_ += 1 * MB; in IncreaseCodeCacheCapacity()
/art/cmdline/
Dcmdline_parser_test.cc234 EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(1234*MB), "-Xms1234m", M::MemoryInitialSize); in TEST_F()
481 MemoryKiB(16 * MB), "-Xjitmaxsize:16M", M::JITCodeCacheMaxCapacity); in TEST_F()

12