Searched refs:GB (Results 1 - 11 of 11) sorted by relevance

/art/runtime/
H A Dglobals.h29 static constexpr size_t GB = KB * KB * KB; member in namespace:art
H A Dutils_test.cc159 EXPECT_EQ("1GB", PrettySize(1 * GB));
160 EXPECT_EQ("2GB", PrettySize(2 * GB));
162 EXPECT_EQ("100GB", PrettySize(100 * GB));
H A Dmem_map_test.cc268 // cannot allocate in the 2GB-4GB region.
275 // Try all addresses starting from 2GB to 4GB.
276 size_t start_addr = 2 * GB;
292 ASSERT_GE(reinterpret_cast<uintptr_t>(map->End()), 2u * GB); local
H A Dmem_map.cc268 // 4GB. If this is the case, unmap and retry.
269 if (reinterpret_cast<uintptr_t>(actual) + page_aligned_byte_count >= 4 * GB) {
779 // 4GB.
807 for (uintptr_t ptr = next_mem_pos_; ptr < 4 * GB; ptr += kPageSize) {
838 if (4U * GB - ptr < length) {
839 // Not enough memory until 4GB.
H A Dmonitor_test.cc65 Runtime::Current()->GetHeap()->SetIdealFootprint(1 * GB);
H A Dutils.cc113 // glibc will have reported a 2GB stack for our 32-bit process, and our stack overflow detection
114 // will be broken because we'll die long before we get close to 2GB.
472 1024*1024*1024 // GB from here.
474 static const int64_t kBytesPerUnit[] = { 1, KB, MB, GB };
475 static const char* const kUnitStrings[] = { "B", "KB", "MB", "GB" };
/art/runtime/gc/accounting/
H A Dread_barrier_table.h86 static constexpr uint64_t kHeapCapacity = 4ULL * GB; // low 4gb.
/art/cmdline/
H A Dcmdline_types.h236 mul = GB;
/art/runtime/jit/
H A Djit_code_cache.cc71 // Ensure we're below 1 GB to be safe.
72 if (max_capacity > 1 * GB) {
74 oss << "Maxium code cache capacity is limited to 1 GB, "
/art/runtime/arch/
H A Dstub_test.cc1063 Runtime::Current()->GetHeap()->SetIdealFootprint(1 * GB);
1188 GB, // that should fail...
/art/runtime/gc/
H A Dheap.cc528 4 * GB - kMinHeapAddress));

Completed in 225 milliseconds