/arkcompiler/runtime_core/libpandabase/mem/ |
H A D | mem.h | 176 constexpr uint64_t operator"" _GB(long double count) in _GB() function 182 constexpr uint64_t operator"" _GB(unsigned long long count) in _GB() function 189 constexpr uint64_t SIZE_1G = 1_GB; 191 constexpr uint64_t PANDA_MAX_HEAP_SIZE = 4_GB; 204 constexpr uint64_t PANDA_32BITS_HEAP_END_OBJECTS_ADDRESS = 4_GB;
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | mmap_test.cpp | 81 EXPECT_LE(ToUintPtr(result) + DEFAULT_MMAP_TEST_SIZE, 4_GB) << "mmaped sapce must be placed into first 4GB"; in TEST_F() 89 void *result = MapRWAnonymousInFirst4GB(ToVoidPtr(4_GB), DEFAULT_MMAP_TEST_SIZE); in TEST_F() 91 result = MapRWAnonymousInFirst4GB(ToVoidPtr(4_GB + GetPageSize()), DEFAULT_MMAP_TEST_SIZE); in TEST_F() 104 EXPECT_LE(ToUintPtr(result) + DEFAULT_MMAP_TEST_SIZE, 4_GB) << "mmaped sapce must be placed into first 4GB"; in TEST_F()
|
H A D | mmap_mem_pool_test.cpp | 235 MmapMemPool *memPool = CreateMMapMemPool(1_GB, 1_GB, 1_GB, 1_GB, 1_GB, 1_GB); in TEST_F() 236 Pool objectPool = memPool->AllocPool(1_GB, SpaceType::SPACE_TYPE_OBJECT, AllocatorType::BUMP_ALLOCATOR); in TEST_F() 237 Pool internalPool = memPool->AllocPool(1_GB, SpaceType::SPACE_TYPE_COMPILER, AllocatorType::BUMP_ALLOCATOR); in TEST_F() 238 Pool codePool = memPool->AllocPool(1_GB, SpaceType::SPACE_TYPE_CODE, AllocatorType::BUMP_ALLOCATOR); in TEST_F() 239 Pool compilerPool = memPool->AllocPool(1_GB, SpaceTyp in TEST_F() [all...] |
H A D | memory_literals_test.cpp | 26 static_assert(4_GB == SIZE_4G);
|
H A D | bit_table_test.cpp | 140 {0_GB, 0_GB + 1U, 0_GB + 2U, 1_GB + 3U, 1_GB + 4U, 1_GB + 5U, 1_GB + 6U, 1_GB + 7U, 1_GB + 8U, 1_GB in TEST_F() [all...] |
/arkcompiler/ets_runtime/ecmascript/mem/ |
H A D | mem_common.h | 69 constexpr uint64_t operator"" _GB(long double count) in _GB() function 75 constexpr uint64_t operator"" _GB(unsigned long long count) in _GB() function
|
H A D | mem_controller_utils.cpp | 44 const int maxSpeed = static_cast<int>(1_GB); in CalculateAverageSpeed()
|
H A D | mem.h | 78 static constexpr size_t MAX_32BIT_OBJECT_SPACE_SIZE = 1_GB;
|
H A D | mem_controller.cpp | 248 const int maxSpeed = static_cast<int>(1_GB); in CalculateAverageSpeed()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | bit_table_test.cpp | 135 {0_GB, 0_GB + 1, 0_GB + 2, 1_GB + 3, 1_GB + 4, 1_GB + 5, 1_GB + 6, 1_GB + 7, 1_GB + 8, 1_GB in TEST_F() [all...] |
H A D | memory_literals_test.cpp | 26 static_assert(4_GB == SIZE_4G);
|
/arkcompiler/runtime_core/static_core/libpandabase/mem/ |
H A D | mem.h | 202 constexpr uint64_t operator"" _GB(long double count) in _GB() function 208 constexpr uint64_t operator"" _GB(unsigned long long count) in _GB() function 215 constexpr uint64_t SIZE_1G = 1_GB; 217 constexpr uint64_t PANDA_MAX_HEAP_SIZE = 4_GB; 230 constexpr uint64_t PANDA_32BITS_HEAP_END_OBJECTS_ADDRESS = 4_GB;
|
/arkcompiler/ets_frontend/ets2panda/aot/ |
H A D | main.cpp | 38 constexpr auto COMPILER_SIZE = sizeof(size_t) <= 4 ? 2_GB : 32_GB; in MemManager()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/ |
H A D | shared_reference_storage.h | 59 static constexpr size_t MAX_POOL_SIZE = (sizeof(void *) > 4) ? 1_GB : 64_MB;
|
/arkcompiler/runtime_core/static_core/runtime/mem/ |
H A D | humongous_obj_allocator.h | 159 static constexpr size_t HUMONGOUS_OBJ_ALLOCATOR_MAX_SIZE = 2_GB;
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
H A D | builtins_arraybuffer.h | 117 static constexpr uint64_t MAX_NATIVE_SIZE_LIMIT = 4_GB; 118 static constexpr char const *NATIVE_SIZE_OUT_OF_LIMIT_MESSAGE = "total array buffer size out of limit(4_GB)";
|
/arkcompiler/ets_runtime/ecmascript/ |
H A D | ecma_param_configuration.h | 151 maxNativeSizeInc_ = 1_GB; in Initialize()
|
H A D | js_runtime_options.h | 2042 uint64_t serializerBufferSizeLimit_ {2_GB};
|
/arkcompiler/runtime_core/static_core/libpandabase/os/ |
H A D | mem.h | 41 static constexpr uint64_t HIGH_BOUND_32BIT_ADDRESS = 4_GB;
|