/art/runtime/ |
D | globals.h | 27 static constexpr size_t KB = 1024; variable 28 static constexpr size_t MB = KB * KB; 29 static constexpr size_t GB = KB * KB * KB;
|
D | thread_linux.cc | 43 32 * KB < MINSIGSTKSZ ? MINSIGSTKSZ : 32 * KB;
|
D | utils_test.cc | 165 EXPECT_EQ("1024B", PrettySize(1 * KB)); in TEST_F() 166 EXPECT_EQ("10KB", PrettySize(10 * KB)); in TEST_F() 167 EXPECT_EQ("100KB", PrettySize(100 * KB)); in TEST_F()
|
D | parsed_options_test.cc | 77 EXPECT_PARSED_EQ(4 * KB, Opt::MemoryMaximumSize); in TEST_F()
|
D | mem_map_test.cc | 111 EXPECT_LE(64 * KB, start); in TEST_F()
|
D | monitor_test.cc | 75 size_t length = 128 * KB / 4; in FillHeap()
|
D | utils.cc | 140 std::vector<char> buf(8 * KB); in ReadFileToString() 470 static const int64_t kBytesPerUnit[] = { 1, KB, MB, GB }; in PrettySize()
|
D | mem_map.cc | 86 static constexpr uintptr_t LOW_MEM_START = 64 * KB;
|
D | thread.h | 145 static constexpr size_t kStackOverflowProtectedSize = 4 * KB;
|
/art/runtime/arch/ |
D | instruction_set.cc | 116 static constexpr size_t kDefaultStackOverflowReservedBytes = 16 * KB; 120 static constexpr size_t kArmStackOverflowReservedBytes = 8 * KB; 121 static constexpr size_t kArm64StackOverflowReservedBytes = 8 * KB; 122 static constexpr size_t kX86StackOverflowReservedBytes = 8 * KB; 123 static constexpr size_t kX86_64StackOverflowReservedBytes = 8 * KB;
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 302 DCHECK(16 <= size && ((size < 1 * KB && size % 16 == 0) || size == 1 * KB || size == 2 * KB)); in BracketSizeToIndex() 304 if (UNLIKELY(size == 1 * KB)) { in BracketSizeToIndex() 306 } else if (UNLIKELY(size == 2 * KB)) { in BracketSizeToIndex() 309 DCHECK(size < 1 * KB); in BracketSizeToIndex() 330 } else if (512 < size && size <= 1 * KB) { in RoundToBracketSize() 331 return 1 * KB; in RoundToBracketSize() 333 DCHECK(1 * KB < size && size <= 2 * KB); in RoundToBracketSize() 334 return 2 * KB; in RoundToBracketSize() 342 } else if (512 < size && size <= 1 * KB) { in SizeToIndex() 345 DCHECK(1 * KB < size && size <= 2 * KB); in SizeToIndex() [all …]
|
/art/compiler/utils/ |
D | stack_checks.h | 26 static constexpr size_t kLargeFrameSize = 2 * KB; 31 static constexpr size_t kSmallFrameSize = 1 * KB;
|
D | assembler.cc | 40 static const size_t kInitialBufferCapacity = 4 * KB; in AssemblerBuffer()
|
/art/compiler/ |
D | image_test.cc | 203 uint32_t image_size_ = 16 * KB; in TEST_F() 204 uint32_t image_roots = ART_BASE_ADDRESS + (1 * KB); in TEST_F() 206 uint32_t oat_file_begin = ART_BASE_ADDRESS + (4 * KB); // page aligned in TEST_F() 207 uint32_t oat_data_begin = ART_BASE_ADDRESS + (8 * KB); // page aligned in TEST_F() 208 uint32_t oat_data_end = ART_BASE_ADDRESS + (9 * KB); in TEST_F() 209 uint32_t oat_file_end = ART_BASE_ADDRESS + (10 * KB); in TEST_F()
|
D | buffered_output_stream.h | 40 static const size_t kBufferSize = 8 * KB;
|
/art/runtime/jit/ |
D | jit_code_cache_test.cc | 48 uint8_t* const reserved_code = code_cache->ReserveCode(soa.Self(), 4 * KB); in TEST_F() 77 constexpr size_t kCodeArrSize = 4 * KB; in TEST_F() 78 constexpr size_t kDataArrSize = 4 * KB; in TEST_F()
|
/art/runtime/gc/space/ |
D | space_test.h | 644 TEST_SizeFootPrintGrowthLimitAndTrimStatic(1KB, spaceName, spaceFn, 1 * KB) \ 645 TEST_SizeFootPrintGrowthLimitAndTrimStatic(4KB, spaceName, spaceFn, 4 * KB) \ 659 TEST_SizeFootPrintGrowthLimitAndTrimRandom(1KB, spaceName, spaceFn, 1 * KB) \ 660 TEST_SizeFootPrintGrowthLimitAndTrimRandom(4KB, spaceName, spaceFn, 4 * KB) \
|
D | large_object_space_test.cc | 156 thread_pool.AddTask(self, new AllocRaceTask(i, kNumIterations, 16 * KB, los)); in RaceTest()
|
/art/runtime/base/ |
D | arena_allocator.h | 118 static constexpr size_t kDefaultSize = 128 * KB;
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 173 "other space", 128 * KB, 4 * MB, 4 * MB, nullptr, false)); in RunTest()
|
/art/compiler/linker/ |
D | relative_patcher_test.h | 62 patched_code_.reserve(16 * KB); in RelativePatcherTest()
|
/art/runtime/gc/collector/ |
D | mark_sweep.cc | 649 static const size_t kMaxSize = 1 * KB; 968 delta = RoundUp(delta, KB); in RecursiveMark() 969 if (delta < 16 * KB) delta = end - begin; in RecursiveMark()
|
/art/cmdline/ |
D | cmdline_parser_test.cc | 432 … EXPECT_SINGLE_PARSE_VALUE(MemoryKiB(16 * KB), "-Xjitcodecachesize:16K", M::JITCodeCacheCapacity); in TEST_F()
|
D | cmdline_types.h | 231 mul = KB;
|
/art/runtime/gc/ |
D | heap.cc | 85 static constexpr size_t kMinConcurrentRemainingBytes = 128 * KB; 86 static constexpr size_t kMaxConcurrentRemainingBytes = 512 * KB; 97 static const size_t kDefaultMarkStackSize = 64 * KB; 107 static constexpr size_t kGcAlotAllocationStackSize = 4 * KB / 110 static constexpr size_t kVerifyObjectAllocationStackSize = 16 * KB / 1430 if (UNLIKELY(static_cast<size_t>(num_bytes_allocated_.LoadRelaxed()) < 10 * KB)) { in VerifyObjectBody() 2415 ATRACE_INT("Heap size (KB)", bytes_allocated_before_gc / KB); in CollectGarbageInternal()
|