| /arkcompiler/runtime_core/static_core/libpandabase/mem/ |
| D | space.h | 26 SPACE_TYPE_OBJECT, // Space for objects (all non-humongous sizes) 27 SPACE_TYPE_HUMONGOUS_OBJECT, // Space for humongous objects 28 SPACE_TYPE_NON_MOVABLE_OBJECT, // Space for non-movable objects 29 SPACE_TYPE_INTERNAL, // Space for runtime internal needs 30 SPACE_TYPE_FRAMES, // Space for runtime frames allocations 31 SPACE_TYPE_NATIVE_STACKS, // Space for native stacks allocations (e.g. for fibers/threads) 32 SPACE_TYPE_CODE, // Space for compiled code 33 SPACE_TYPE_COMPILER, // Space for memory allocation in compiler 60 return "ark-Undefined Space"; in SpaceTypeToString() 62 return "ark-Object Space"; in SpaceTypeToString() [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | runtime.yaml | 29 # NB! The `space` property allows to group intrinsics and control 31 # space is loaded. See --load-runtimes for more details. 37 space: core 49 space: core 61 space: core 73 space: core 85 space: core 96 space: core 107 space: core 118 space: core [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_libbase_runtime.yaml | 49 space: ets 60 space: ets 71 space: ets 82 space: ets 93 space: ets 104 space: ets 115 space: ets 126 space: ets 137 space: ets 148 space: ets [all …]
|
| D | ets_compiler_intrinsics.yaml | 26 space: ets 38 space: ets 50 space: ets 62 space: ets 74 space: ets 86 space: ets 98 space: ets 110 space: ets 122 space: ets 134 space: ets
|
| /arkcompiler/runtime_core/libpandabase/mem/ |
| D | space.h | 28 SPACE_TYPE_OBJECT, // Space for objects (all non-humongous sizes) 29 SPACE_TYPE_HUMONGOUS_OBJECT, // Space for humongous objects 30 SPACE_TYPE_NON_MOVABLE_OBJECT, // Space for non-movable objects 31 SPACE_TYPE_INTERNAL, // Space for runtime internal needs 32 SPACE_TYPE_CODE, // Space for compiled code 33 SPACE_TYPE_COMPILER, // Space for memory allocation in compiler 55 return "ark-Undefined Space"; in SpaceTypeToString() 57 return "ark-Object Space"; in SpaceTypeToString() 59 return "ark-Humongous Object Space"; in SpaceTypeToString() 61 return "ark-Non Movable Space"; in SpaceTypeToString() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/intrinsics/ |
| D | std_js_jsruntime.yaml | 39 space: ets 50 space: ets 61 space: ets 72 space: ets 83 space: ets 94 space: ets 105 space: ets 116 space: ets 127 space: ets 138 space: ets [all …]
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | space.h | 51 return "old space"; in ToSpaceTypeName() 53 return "non movable space"; in ToSpaceTypeName() 55 return "machine code space"; in ToSpaceTypeName() 57 return "huge object space"; in ToSpaceTypeName() 59 return "semi space"; in ToSpaceTypeName() 61 return "snapshot space"; in ToSpaceTypeName() 63 return "compress space"; in ToSpaceTypeName() 65 return "local space"; in ToSpaceTypeName() 67 return "read only space"; in ToSpaceTypeName() 69 return "appspawn space"; in ToSpaceTypeName() [all …]
|
| D | space.cpp | 16 #include "ecmascript/mem/space-inl.h" 22 #include "ecmascript/mem/space.h" 25 Space::Space(Heap* heap, HeapRegionAllocator *heapRegionAllocator, in Space() function in panda::ecmascript::Space 37 void Space::AddAllocationInspector(AllocationInspector* inspector) in AddAllocationInspector() 42 void Space::ClearAllocationInspector() in ClearAllocationInspector() 47 void Space::SwapAllocationCounter(Space *space) in SwapAllocationCounter() argument 49 std::swap(allocationCounter_, space->allocationCounter_); in SwapAllocationCounter() 52 void Space::Destroy() in Destroy() 57 void Space::ReclaimRegions(size_t cachedSize) in ReclaimRegions() 64 void Space::ClearAndFreeRegion(Region *region, size_t cachedSize) in ClearAndFreeRegion() [all …]
|
| /arkcompiler/runtime_core/compiler/ |
| D | intrinsics.yaml | 17 space: core 37 space: core 57 space: core 77 space: core 97 space: core 117 space: core 137 space: core 157 space: core 177 space: core 197 space: core [all …]
|
| /arkcompiler/runtime_core/scripts/ |
| D | memdump.py | 45 # libpandabase/mem/space.h 81 """Filter by space and substring""" 83 def __init__(self, space, strfilter): argument 84 self.space = space 87 def filter(self, space, stacktrace): argument 88 """Checks that space and stacktrace matches filter""" 90 if self.space != 'all' and SPACES[space] != self.space: 98 """Validates space value""" 101 print('Invalid value {} of --space option'.format(value)) 153 '--space', [all …]
|
| D | memusage.py | 104 # libpandabase/mem/space.h 106 "[anon:ark-Object Space]": MemInfo("ark-Object Space"), 107 "[anon:ark-Humongous Space]": MemInfo("ark-Humongous Space"), 108 "[anon:ark-Non Movable Space]": MemInfo("ark-Non Movable Space"), 109 "[anon:ark-Internal Space]": MemInfo("ark-Internal Space"), 110 "[anon:ark-Code Space]": MemInfo("ark-Code Space"), 111 "[anon:ark-Compiler Space]": MemInfo("ark-Compiler Space")
|
| /arkcompiler/runtime_core/static_core/scripts/ |
| D | memdump.py | 45 # libpandabase/mem/space.h 81 """Filter by space and substring""" 83 def __init__(self, space, strfilter): argument 84 self.space = space 87 def filter(self, space, stacktrace): argument 88 """Checks that space and stacktrace matches filter""" 90 if self.space != 'all' and SPACES[space] != self.space: 98 """Validates space value""" 101 print('Invalid value {} of --space option'.format(value)) 153 '--space', [all …]
|
| D | memusage.py | 104 # libpandabase/mem/space.h 106 "[anon:ark-Object Space]": MemInfo("ark-Object Space"), 107 "[anon:ark-Humongous Space]": MemInfo("ark-Humongous Space"), 108 "[anon:ark-Non Movable Space]": MemInfo("ark-Non Movable Space"), 109 "[anon:ark-Internal Space]": MemInfo("ark-Internal Space"), 110 "[anon:ark-Code Space]": MemInfo("ark-Code Space"), 111 "[anon:ark-Compiler Space]": MemInfo("ark-Compiler Space")
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | mem_space_test.cpp | 18 #include "libpandabase/mem/space.h" 35 EXPECT_STREQ("ark-Undefined Space", SpaceTypeToString(SpaceType::SPACE_TYPE_UNDEFINED)); 36 EXPECT_STREQ("ark-Object Space", SpaceTypeToString(SpaceType::SPACE_TYPE_OBJECT)); 37 …EXPECT_STREQ("ark-Humongous Object Space", SpaceTypeToString(SpaceType::SPACE_TYPE_HUMONGOUS_OBJEC… 38 …EXPECT_STREQ("ark-Non Movable Space", SpaceTypeToString(SpaceType::SPACE_TYPE_NON_MOVABLE_OBJECT)); 39 EXPECT_STREQ("ark-Internal Space", SpaceTypeToString(SpaceType::SPACE_TYPE_INTERNAL)); 40 EXPECT_STREQ("ark-Code Space", SpaceTypeToString(SpaceType::SPACE_TYPE_CODE)); 41 EXPECT_STREQ("ark-Compiler Space", SpaceTypeToString(SpaceType::SPACE_TYPE_COMPILER)); 42 EXPECT_STREQ("ark-Unknown Space", SpaceTypeToString(SpaceType::SPACE_TYPE_LAST));
|
| /arkcompiler/runtime_core/static_core/irtoc/ |
| D | intrinsics.yaml | 23 space: core 37 space: core 50 space: core 63 space: core 77 space: core 91 space: core 104 space: core 118 space: core 132 space: core 146 space: core [all …]
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
| D | snapshot_processor.h | 58 …void RelocateSpaceObject(const JSPandaFile *jsPandaFile, Space* space, SnapshotType type, MethodLi… 121 void DeserializeSpaceObject(uintptr_t beginAddr, Space* space, size_t spaceObjSize); 122 …void DeserializeHugeSpaceObject(uintptr_t beginAddr, HugeObjectSpace* space, size_t hugeSpaceObjSi… 128 void WriteSpaceObjectToFile(Space* space, std::fstream &write); 129 void WriteHugeObjectToFile(HugeObjectSpace* space, std::fstream &writer); 130 uint32_t StatisticsSpaceObjectSize(Space* space); 131 uint32_t StatisticsHugeObjectSize(HugeObjectSpace* space); 132 uintptr_t AllocateObjectToLocalSpace(Space *space, size_t objectSize);
|
| /arkcompiler/runtime_core/static_core/verification/util/ |
| D | mem.h | 23 /* We are using the fact that on every operating system some of the process's virtual memory space 27 https://linux-kernel-labs.github.io/refs/heads/master/lectures/address-space.html 29 Linux is using a split address space for 32 bit systems, although in the past there 30 were options for supporting 4/4s split or dedicated kernel address space (on those 31 …architecture that supports it, e.g. x86). Linux always uses split address space for 64 bit systems. 33 [For 32-bit Linux, the split is usually 3/1, i.e. 0x00000000-0xc0000000 is user space, 34 0xc0000000-0xffffffff is kernel space] 38 For a 32-bit process, the virtual address space is usually the 2-gigabyte range 0x00000000 40 For a 64-bit process on 64-bit Windows, the virtual address space is the 128-terabyte range
|
| /arkcompiler/runtime_core/static_core/docs/diagrams/ |
| D | generational-minor-gc-activity.plantuml | 17 :Collect Roots for young space; 18 :Mark objects in young space; 19 :Copy marked/alive objects from young space to the tenured space; 21 :Reset young space;
|
| D | generational-concurrent-major-gc-activity.plantuml | 18 :Collect Roots for tenured space; 19 :Initial mark(direct roots and roots from young space); 21 :Concurrently mark objects in the tenured space; 26 :Sweep tenured space(remove non-marked objects);
|
| /arkcompiler/runtime_core/docs/diagrams/ |
| D | generational-minor-gc-activity.puactivity | 17 :Collect Roots for young space; 18 :Mark objects in young space; 19 :Copy marked/alive objects from young space to the tenured space; 21 :Reset young space;
|
| D | generational-concurrent-major-gc-activity.puactivity | 18 :Collect Roots for tenured space; 19 :Initial mark(direct roots and roots from young space); 21 :Concurrently mark objects in the tenured space; 26 :Sweep tenured space(remove non-marked objects);
|
| /arkcompiler/runtime_core/static_core/docs/ |
| D | memory-management-SW-requirements.md | 29 - Code space (executable) 30 - Compiler Internal Space(linked list of arenas) 31 - Internal memory space for non-compiler part of runtime (including GC internals) 32 - Object space 33 - Non-moving space(space for non-movable objects)
|
| /arkcompiler/runtime_core/docs/ |
| D | memory-management-SW-requirements.md | 29 - Code space (executable) 30 - Compiler Internal Space(linked list of arenas) 31 - Internal memory space for non-compiler part of runtime (including GC internals) 32 - Object space 33 - Non-moving space(space for non-movable objects)
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | heap_space.h | 77 * @brief Heap space inilialization 78 * @param initial_size initial (also minimum) heap space size 79 * @param max_size maximum heap space size 80 …* @param min_free_percentage minimum possible percentage of free memory in this heap space, use fo… 82 …* @param max_free_percentage maximum possible percentage of free memory in this heap space, use fo… 87 /// @brief Compute new size of heap space 162 /// @brief Compute new size of heap space 166 * @brief Increase current heap space 167 * @param bytes bytes count for heap space increasing 172 * @brief Reduce current heap space [all …]
|
| D | heap_space.cpp | 43 // Set current space size as initial_size in Initialize() 68 // How many bytes are used in space now in ComputeNewSize() 100 // then we increase space to allocate this pool in ComputeNewSize() 104 // Free bytes after increase space for new pool will = 0, so yet increase space in ComputeNewSize() 125 …te pool during GC work then we must allocate new pool anyway, so we will try to increase heap space in WillAlloc() 127 …// if requested pool size greater free bytes in current heap space and non occupied memory then we… in WillAlloc() 132 // In this case we need increase space for allocate new pool in WillAlloc() 157 // Increase heap space if needed and allocate pool in TryAllocPoolBase() 167 // Save pool size for computing new space size in TryAllocPoolBase() 183 // Increase heap space if needed and allocate arena in TryAllocArenaBase() [all …]
|