/art/runtime/gc/space/ |
H A D | space_create_test.cc | 65 std::unique_ptr<Space> space(CreateSpace("test", 16 * MB, 32 * MB, 32 * MB, nullptr)); 68 space.reset(CreateSpace("test", 16 * MB, 16 * MB, 16 * MB, nullptr)); 71 space.reset(CreateSpace("test", 32 * MB, 16 * MB, 16 * MB, nullptr)); 74 space.reset(CreateSpace("test", 16 * MB, 1 [all...] |
H A D | space_test.h | 327 size_t initial_size = 4 * MB; 328 size_t growth_limit = 8 * MB; 329 size_t capacity = 16 * MB; 372 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1MB, spaceName, spaceFn, 1 * MB) \ 373 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4MB, spaceName, spaceFn, 4 * MB) \ 374 TEST_SizeFootPrintGrowthLimitAndTrimStatic(8MB, spaceName, spaceFn, 8 * MB) 387 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1MB, spaceNam [all...] |
H A D | large_object_space_test.cc | 43 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB); 105 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr, 150 los = space::FreeListSpace::Create("large object space", nullptr, 128 * MB);
|
H A D | region_space.h | 171 static constexpr size_t kRegionSize = 1 * MB; 324 DCHECK_LT(begin_ + 1 * MB, top_); 419 DCHECK_LT(begin_ + 1 * MB, top_);
|
H A D | image_space.cc | 336 static constexpr uint64_t kLowSpaceValue = 50 * MB; 337 static constexpr uint64_t kTmpFsSentinelValue = 384 * MB; 363 static_cast<double>(fs_free_size) / MB, 364 kLowSpaceValue / MB);
|
/art/runtime/gc/accounting/ |
H A D | space_bitmap_test.cc | 34 size_t heap_capacity = 16 * MB; 61 size_t heap_capacity = 16 * MB; 116 size_t heap_capacity = 16 * MB;
|
H A D | read_barrier_table.h | 83 static constexpr size_t kRegionSize = 1 * MB;
|
H A D | card_table_test.cc | 52 CardTableTest() : heap_begin_(reinterpret_cast<uint8_t*>(0x2000000)), heap_size_(2 * MB) {
|
H A D | mod_union_table_test.cc | 186 "other space", 128 * KB, 4 * MB, 4 * MB, nullptr, false));
|
/art/compiler/utils/ |
H A D | swap_space_test.cc | 39 SwapSpace pool(fd, 1 * MB);
|
H A D | assembler.cc | 98 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB);
|
H A D | swap_space.cc | 31 static constexpr size_t kMininumMapSize = 16 * MB;
|
/art/runtime/ |
H A D | globals.h | 28 static constexpr size_t MB = KB * KB; member in namespace:art
|
H A D | thread_pool.h | 53 static const size_t kDefaultStackSize = 1 * MB;
|
H A D | utils_test.cc | 164 EXPECT_EQ("1024KB", PrettySize(1 * MB)); 165 EXPECT_EQ("10MB", PrettySize(10 * MB)); 166 EXPECT_EQ("100MB", PrettySize(100 * MB));
|
H A D | runtime_options.def | 105 RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB)
|
H A D | parsed_options_test.cc | 90 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize);
|
H A D | common_runtime_test.cc | 317 std::string min_heap_string(StringPrintf("-Xms%zdm", gc::Heap::kDefaultInitialSize / MB)); 318 std::string max_heap_string(StringPrintf("-Xmx%zdm", gc::Heap::kDefaultMaximumSize / MB));
|
/art/compiler/linker/arm/ |
H A D | relative_patcher_thumb2_test.cc | 272 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */; 301 constexpr uint32_t max_positive_disp = 16 * MB - 2u + 4u /* PC adjustment */; 323 constexpr uint32_t just_over_max_negative_disp = 16 * MB - 4u /* PC adjustment */; 345 constexpr uint32_t just_over_max_positive_disp = 16 * MB + 4u /* PC adjustment */; 361 ASSERT_GE(diff, 16 * MB - (1u << 9)); // Simple encoding, unknown bits fit into the low 8 bits. 376 constexpr uint32_t just_over_max_negative_disp = 16 * MB + 2 - 4u /* PC adjustment */;
|
/art/compiler/linker/arm64/ |
H A D | relative_patcher_arm64_test.cc | 85 constexpr uint32_t kSmallChunkSize = 2 * MB; 310 ASSERT_LT(b_diff, 128 * MB); 521 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; 537 ASSERT_LT(diff, 128 * MB); 554 constexpr uint32_t max_positive_disp = 128 * MB - 4u; 580 constexpr uint32_t max_negative_disp = 128 * MB; 606 constexpr uint32_t just_over_max_positive_disp = 128 * MB; 623 ASSERT_LT(diff, 128 * MB); 638 constexpr uint32_t just_over_max_negative_disp = 128 * MB + 4; 653 ASSERT_LT(diff, 128 * MB); [all...] |
/art/compiler/driver/ |
H A D | compiled_method_storage.cc | 172 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)),
|
/art/cmdline/ |
H A D | cmdline_parser_test.cc | 221 EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(1234*MB), "-Xms1234m", M::MemoryInitialSize); 471 MemoryKiB(16 * MB), "-Xjitmaxsize:16M", M::JITCodeCacheMaxCapacity);
|
/art/runtime/gc/ |
H A D | heap.h | 124 static constexpr size_t kDefaultInitialSize = 2 * MB; 125 static constexpr size_t kDefaultMaximumSize = 256 * MB; 126 static constexpr size_t kDefaultNonMovingSpaceCapacity = 64 * MB; 127 static constexpr size_t kDefaultMaxFree = 2 * MB;
|
/art/runtime/jit/ |
H A D | jit_code_cache.h | 51 static constexpr size_t kMaxCapacity = 64 * MB;
|
/art/runtime/gc/collector/ |
H A D | semi_space.cc | 59 static constexpr size_t kBytesPromotedThreshold = 4 * MB; 60 static constexpr size_t kLargeObjectBytesAllocatedThreshold = 16 * MB;
|