Searched refs:MB (Results 1 - 25 of 38) sorted by relevance

12

/art/runtime/gc/space/
H A Dspace_create_test.cc65 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 Dspace_test.h327 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 Dlarge_object_space_test.cc43 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 Dregion_space.h171 static constexpr size_t kRegionSize = 1 * MB;
324 DCHECK_LT(begin_ + 1 * MB, top_);
419 DCHECK_LT(begin_ + 1 * MB, top_);
H A Dimage_space.cc336 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 Dspace_bitmap_test.cc34 size_t heap_capacity = 16 * MB;
61 size_t heap_capacity = 16 * MB;
116 size_t heap_capacity = 16 * MB;
H A Dread_barrier_table.h83 static constexpr size_t kRegionSize = 1 * MB;
H A Dcard_table_test.cc52 CardTableTest() : heap_begin_(reinterpret_cast<uint8_t*>(0x2000000)), heap_size_(2 * MB) {
H A Dmod_union_table_test.cc186 "other space", 128 * KB, 4 * MB, 4 * MB, nullptr, false));
/art/compiler/utils/
H A Dswap_space_test.cc39 SwapSpace pool(fd, 1 * MB);
H A Dassembler.cc98 size_t new_capacity = std::min(old_capacity * 2, old_capacity + 1 * MB);
H A Dswap_space.cc31 static constexpr size_t kMininumMapSize = 16 * MB;
/art/runtime/
H A Dglobals.h28 static constexpr size_t MB = KB * KB; member in namespace:art
H A Dthread_pool.h53 static const size_t kDefaultStackSize = 1 * MB;
H A Dutils_test.cc164 EXPECT_EQ("1024KB", PrettySize(1 * MB));
165 EXPECT_EQ("10MB", PrettySize(10 * MB));
166 EXPECT_EQ("100MB", PrettySize(100 * MB));
H A Druntime_options.def105 RUNTIME_OPTIONS_KEY (unsigned int, MethodTraceFileSize, 10 * MB)
H A Dparsed_options_test.cc90 EXPECT_PARSED_EQ(1 * MB, Opt::StackSize);
H A Dcommon_runtime_test.cc317 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 Drelative_patcher_thumb2_test.cc272 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 Drelative_patcher_arm64_test.cc85 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 Dcompiled_method_storage.cc172 : swap_space_(swap_fd == -1 ? nullptr : new SwapSpace(swap_fd, 10 * MB)),
/art/cmdline/
H A Dcmdline_parser_test.cc221 EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(1234*MB), "-Xms1234m", M::MemoryInitialSize);
471 MemoryKiB(16 * MB), "-Xjitmaxsize:16M", M::JITCodeCacheMaxCapacity);
/art/runtime/gc/
H A Dheap.h124 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 Djit_code_cache.h51 static constexpr size_t kMaxCapacity = 64 * MB;
/art/runtime/gc/collector/
H A Dsemi_space.cc59 static constexpr size_t kBytesPromotedThreshold = 4 * MB;
60 static constexpr size_t kLargeObjectBytesAllocatedThreshold = 16 * MB;

Completed in 2316 milliseconds

12