/art/runtime/gc/space/ |
D | space_test.h | 141 std::unique_ptr<Space> space(create_space("test", 16 * MB, 32 * MB, 32 * MB, nullptr)); in InitTestBody() 146 std::unique_ptr<Space> space(create_space("test", 16 * MB, 16 * MB, 16 * MB, nullptr)); in InitTestBody() 151 std::unique_ptr<Space> space(create_space("test", 32 * MB, 16 * MB, 16 * MB, nullptr)); in InitTestBody() 156 std::unique_ptr<Space> space(create_space("test", 16 * MB, 16 * MB, 32 * MB, nullptr)); in InitTestBody() 161 std::unique_ptr<Space> space(create_space("test", 16 * MB, 8 * MB, 32 * MB, nullptr)); in InitTestBody() 166 std::unique_ptr<Space> space(create_space("test", 8 * MB, 16 * MB, 32 * MB, nullptr)); in InitTestBody() 171 std::unique_ptr<Space> space(create_space("test", 8 * MB, 32 * MB, 16 * MB, nullptr)); in InitTestBody() 182 MallocSpace* space(create_space("test", 4 * MB, 16 * MB, 16 * MB, nullptr)); in ZygoteSpaceTestBody() 194 hs.NewHandle(Alloc(space, self, 1 * MB, &ptr1_bytes_allocated, &ptr1_usable_size, in ZygoteSpaceTestBody() 197 EXPECT_LE(1U * MB, ptr1_bytes_allocated); in ZygoteSpaceTestBody() [all …]
|
D | large_object_space_test.cc | 43 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); in LargeObjectTest() 105 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr, in LargeObjectTest() 150 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); in RaceTest()
|
D | region_space.h | 169 static constexpr size_t kRegionSize = 1 * MB; 322 DCHECK_LT(begin_ + 1 * MB, top_); in IsLarge() 417 DCHECK_LT(begin_ + 1 * MB, top_); in ObjectsAllocated()
|
D | image_space.cc | 439 static constexpr uint64_t kLowSpaceValue = 50 * MB; 440 static constexpr uint64_t kTmpFsSentinelValue = 384 * MB; 466 static_cast<double>(fs_free_size) / MB, in CheckSpace() 467 kLowSpaceValue / MB); in CheckSpace()
|
/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 | mod_union_table_test.cc | 173 "other space", 128 * KB, 4 * MB, 4 * MB, nullptr, false)); in RunTest()
|
D | read_barrier_table.h | 83 static constexpr size_t kRegionSize = 1 * MB;
|
D | card_table_test.cc | 52 CardTableTest() : heap_begin_(reinterpret_cast<uint8_t*>(0x2000000)), heap_size_(2 * MB) { in CardTableTest()
|
/art/compiler/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 244 constexpr uint32_t max_positive_disp = 16 * MB - 2u + 4u /* PC adjustment */; in TEST_F() 264 constexpr uint32_t just_over_max_negative_disp = 16 * MB - 4u /* PC adjustment */; in TEST_F() 284 constexpr uint32_t just_over_max_positive_disp = 16 * MB + 4u /* PC adjustment */; in TEST_F() 298 ASSERT_GE(diff, 16 * MB - (1u << 9)); // Simple encoding, unknown bits fit into the low 8 bits. in TEST_F() 313 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */; in TEST_F()
|
/art/runtime/jit/ |
D | jit_code_cache_test.cc | 34 constexpr size_t kSize = 1 * MB; in TEST_F() 70 constexpr size_t kSize = 1 * MB; in TEST_F()
|
D | jit_code_cache.h | 45 static constexpr size_t kDefaultCapacity = 2 * MB;
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 75 constexpr uint32_t kSmallChunkSize = 2 * MB; in Create2MethodsWithGap() 243 ASSERT_LT(b_diff, 128 * MB); in TestNopsAdrpInsn2LdrHasThunk() 398 constexpr uint32_t max_positive_disp = 128 * MB - 4u; in TEST_F() 422 constexpr uint32_t max_negative_disp = 128 * MB; in TEST_F() 446 constexpr uint32_t just_over_max_positive_disp = 128 * MB; in TEST_F() 460 ASSERT_LT(diff, 128 * MB); in TEST_F() 475 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; in TEST_F() 489 ASSERT_LT(diff, 128 * MB); in TEST_F()
|
/art/compiler/utils/ |
D | swap_space_test.cc | 39 SwapSpace pool(fd, 1 * MB); in SwapTest()
|
D | assembler.cc | 86 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB); in ExtendCapacity()
|
D | swap_space.cc | 30 static constexpr size_t kMininumMapSize = 16 * MB;
|
/art/runtime/ |
D | globals.h | 28 static constexpr size_t MB = KB * KB; variable
|
D | utils_test.cc | 162 EXPECT_EQ("1024KB", PrettySize(1 * MB)); in TEST_F() 163 EXPECT_EQ("10MB", PrettySize(10 * MB)); in TEST_F() 164 EXPECT_EQ("100MB", PrettySize(100 * MB)); in TEST_F()
|
D | thread_pool.h | 53 static const size_t kDefaultStackSize = 1 * MB;
|
D | parsed_options_test.cc | 78 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize); in TEST_F()
|
D | common_runtime_test.cc | 300 std::string min_heap_string(StringPrintf("-Xms%zdm", gc::Heap::kDefaultInitialSize / MB)); in SetUp() 301 std::string max_heap_string(StringPrintf("-Xmx%zdm", gc::Heap::kDefaultMaximumSize / MB)); in SetUp()
|
D | runtime_options.def | 97 RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB)
|
D | utils.cc | 121 *stack_size = 8 * MB; in GetThreadStack() 470 static const int64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
/art/cmdline/ |
D | cmdline_parser_test.cc | 200 EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(1234*MB), "-Xms1234m", M::MemoryInitialSize); in TEST_F() 433 … EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(16 * MB), "-Xjitcodecachesize:16M", M::JITCodeCacheCapacity); in TEST_F()
|
/art/runtime/gc/ |
D | heap.h | 138 static constexpr size_t kDefaultInitialSize = 2 * MB; 139 static constexpr size_t kDefaultMaximumSize = 256 * MB; 140 static constexpr size_t kDefaultNonMovingSpaceCapacity = 64 * MB; 141 static constexpr size_t kDefaultMaxFree = 2 * MB;
|
/art/runtime/gc/collector/ |
D | semi_space.cc | 59 static constexpr size_t kBytesPromotedThreshold = 4 * MB; 60 static constexpr size_t kLargeObjectBytesAllocatedThreshold = 16 * MB;
|