| /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 61 return "ark-Undefined Space"; in SpaceTypeToString() 63 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 | 64 space: ets 76 space: ets 88 space: ets 100 space: ets 112 space: ets 123 space: ets 134 space: ets 145 space: ets 156 space: ets 167 space: ets [all …]
|
| D | ets_compiler_intrinsics.yaml | 26 space: ets 37 space: ets 48 space: ets 59 space: ets 70 space: ets 81 space: ets 92 space: ets 103 space: ets 114 space: ets 125 space: ets [all …]
|
| /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/ets_runtime/ecmascript/mem/ |
| D | space.h | 80 return "old space"; in ToSpaceTypeName() 82 return "non movable space"; in ToSpaceTypeName() 84 return "machine code space"; in ToSpaceTypeName() 86 return "huge object space"; in ToSpaceTypeName() 88 return "semi space"; in ToSpaceTypeName() 90 return "snapshot space"; in ToSpaceTypeName() 92 return "compress space"; in ToSpaceTypeName() 94 return "read only space"; in ToSpaceTypeName() 96 return "appspawn space"; in ToSpaceTypeName() 98 return "huge machine code space"; in ToSpaceTypeName() [all …]
|
| D | space.cpp | 19 #include "ecmascript/mem/space.h" 23 Space::Space(BaseHeap* heap, HeapRegionAllocator *heapRegionAllocator, in Space() function in panda::ecmascript::Space 37 void Space::AddAllocationInspector(AllocationInspector* inspector) in AddAllocationInspector() 43 void Space::ClearAllocationInspector() in ClearAllocationInspector() 48 void Space::SwapAllocationCounter(Space *space) in SwapAllocationCounter() argument 50 ASSERT(space != nullptr); in SwapAllocationCounter() 51 std::swap(allocationCounter_, space->allocationCounter_); in SwapAllocationCounter() 54 void Space::Destroy() in Destroy() 59 void Space::ReclaimRegions(size_t cachedSize) in ReclaimRegions() 67 void Space::ClearAndFreeRegion(Region *region, size_t cachedSize) in ClearAndFreeRegion() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/intrinsics/ |
| D | std_js_jsruntime.yaml | 36 space: ets 47 space: ets 59 space: ets 71 space: ets 83 space: ets 94 space: ets 106 space: ets 118 space: ets 130 space: ets 141 space: ets [all …]
|
| /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 38 space: core 53 space: core 68 space: core 84 space: core 100 space: core 115 space: core 130 space: core 145 space: core 160 space: core [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/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 …]
|
| /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 …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/intrinsics/ |
| D | string_trim.sts | 16 /* White space charcodes: 17 0x0020 -- space 23 0x00A0 -- no-break space 24 0x1680 -- Ogham space mark 27 0x2002 -- en space 28 0x2003 -- em space 29 0x2004 -- three-per-em space 30 0x2005 -- four-per-em space 31 0x2006 -- six-per-em space 32 0x2007 -- figure space [all …]
|
| /arkcompiler/runtime_core/libabckit/src/ |
| D | abckit_compiler_intrinsics.yaml | 16 space: abckit 36 space: abckit 56 space: abckit 76 space: abckit 96 space: abckit 116 space: abckit 136 space: abckit 156 space: abckit 176 space: abckit 196 space: abckit [all …]
|
| /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;
|
| /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;
|
| /arkcompiler/ets_runtime/ecmascript/serializer/ |
| D | base_deserializer.h | 96 uintptr_t DeserializeTaggedObject(SerializedObjectSpace space); 99 uintptr_t RelocateObjectAddr(SerializedObjectSpace space, size_t objSize); 103 …void HandleNewObjectEncodeFlag(SerializedObjectSpace space, uintptr_t objAddr, size_t fieldOffset,… 110 void AllocateMultiRegion(SparseSpace *space, size_t spaceObjSize, size_t ®ionIndex); 111 …void AllocateMultiSharedRegion(SharedSparseSpace *space, size_t spaceObjSize, size_t ®ionIndex); 180 << ", old space heap object size: " 182 << ", old space committed size: " 184 << ", non movable space heap object size: " 186 << ", non movable space committed size: " 188 << ", huge space committed size: " [all …]
|
| D | base_deserializer.cpp | 101 uintptr_t BaseDeserializer::DeserializeTaggedObject(SerializedObjectSpace space) in DeserializeTaggedObject() argument 104 uintptr_t res = RelocateObjectAddr(space, objSize); in DeserializeTaggedObject() 162 void BaseDeserializer::HandleNewObjectEncodeFlag(SerializedObjectSpace space, uintptr_t objAddr, s… in HandleNewObjectEncodeFlag() argument 171 uintptr_t addr = DeserializeTaggedObject(space); in HandleNewObjectEncodeFlag() 257 SerializedObjectSpace space = SerializeData::DecodeSpace(encodeFlag); in ReadSingleEncodeData() local 258 HandleNewObjectEncodeFlag(space, objAddr, fieldOffset, isRoot); in ReadSingleEncodeData() 381 uintptr_t BaseDeserializer::RelocateObjectAddr(SerializedObjectSpace space, size_t objSize) in RelocateObjectAddr() argument 384 switch (space) { in RelocateObjectAddr() 590 void BaseDeserializer::AllocateMultiRegion(SparseSpace *space, size_t spaceObjSize, size_t ®ionI… in AllocateMultiRegion() argument 598 space->GetCurrentRegion()->IncreaseAliveObject(regionAliveObjSize); in AllocateMultiRegion() [all …]
|
| /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/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/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/ets_runtime/ecmascript/snapshot/mem/ |
| D | snapshot_processor.h | 68 …void RelocateSpaceObject(const JSPandaFile *jsPandaFile, Space* space, SnapshotType type, MethodLi… 154 void DeserializeSpaceObject(uintptr_t beginAddr, Space* space, size_t spaceObjSize); 155 …void DeserializeHugeSpaceObject(uintptr_t beginAddr, HugeObjectSpace* space, size_t hugeSpaceObjSi… 161 void WriteSpaceObjectToFile(Space* space, std::fstream &write); 162 void WriteHugeObjectToFile(HugeObjectSpace* space, std::fstream &writer); 163 uint32_t StatisticsSpaceObjectSize(Space* space); 164 uint32_t StatisticsHugeObjectSize(HugeObjectSpace* space); 165 uintptr_t AllocateObjectToLocalSpace(Space *space, size_t objectSize);
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | gc_shared_partial_test.cpp | 26 …JSHandle<TaggedObject> CreateSharedObjectsInOneRegion(std::shared_ptr<SharedTestSpace> space, doub… 31 class SharedTestSpace : public Space { 35 …: Space(heap, heap->GetHeapRegionAllocator(), MemSpaceType::SHARED_OLD_SPACE, CAP, CAP), sHeap_(he… in SharedTestSpace() 80 …Object> SharedPartialGCTest::CreateSharedObjectsInOneRegion(std::shared_ptr<SharedTestSpace> space, in CreateSharedObjectsInOneRegion() argument 84 space->Expand(thread); in CreateSharedObjectsInOneRegion() 85 size_t totalSize = space->GetEnd() - space->GetTop(); in CreateSharedObjectsInOneRegion() 89 TaggedObject *obj = reinterpret_cast<TaggedObject *>(space->Allocate(size)); in CreateSharedObjectsInOneRegion() 108 std::shared_ptr<SharedTestSpace> space= std::make_shared<SharedTestSpace>(sHeap); in HWTEST_F_L0() local 111 auto obj = CreateSharedObjectsInOneRegion(space, ALIVE_RATE); in HWTEST_F_L0() 116 space->FillBumpPointer(); in HWTEST_F_L0()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/ |
| D | space_type_test.sts | 17 …ssert GC.getObjectSpaceType("spaceTypeTest") == GC.NON_MOVABLE_SPACE : "Must be non movable space"; 22 assert GC.getObjectSpaceType(obj) == GC.YOUNG_SPACE : "Must be young space"; 27 assert GC.getObjectSpaceType(obj) == GC.TENURED_SPACE : "Must be tenured space"; 33 assert GC.getObjectSpaceType(h_obj) == GC.HUMONGOUS_SPACE: "Must be humongous space"; 46 assert false: "Space allocation test must not throw exceptions";
|