| /ark/runtime_core/runtime/mem/gc/ |
| D | gc.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 80 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 81 #define LOG_DEBUG_GC LOG(DEBUG, GC) << this->GetLogPrefix() 82 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage) 83 #define LOG_INFO_GC LOG(INFO, GC) << this->GetLogPrefix() 107 if (native_gc_trigger_type_str == "no-native-gc-trigger") { in NativeGcTriggerTypeFromString() 110 if (native_gc_trigger_type_str == "simple-strategy") { in NativeGcTriggerTypeFromString() 136 uint64_t young_space_size = 0; /// size of young-space for gen-gc 147 void MarkObjectHeader(ObjectHeader *object) const in MarkObjectHeader() argument 149 // NOLINTNEXTLINE(readability-braces-around-statements) in MarkObjectHeader() [all …]
|
| /ark/runtime_core/runtime/mem/ |
| D | region_allocator.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 52 Region *GetRegion(const ObjectHeader *object) const in GetRegion() argument 54 return region_space_.GetRegion(object); in GetRegion() 72 PoolManager::GetMmapMemPool()->FreePool(init_block_.GetMem(), init_block_.GetSize()); in ClearRegionsPool() 87 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 89 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 91 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 93 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 95 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) 97 // NOLINTNEXTLINE(misc-non-private-member-variables-in-classes) [all …]
|
| /ark/runtime_core/tests/cts-assembly/ |
| D | obj-18.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 14 # Compare a non-null object against another non-null object of the same type
|
| D | obj-16.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 14 # Compare a non-null object against a null object
|
| /ark/runtime_core/libpandabase/mem/ |
| D | space.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 28 SPACE_TYPE_OBJECT, // Space for objects (all non-humongous sizes) 30 SPACE_TYPE_NON_MOVABLE_OBJECT, // Space for non-movable objects 57 return "Object Space"; in SpaceTypeToString() 59 return "Humongous Object Space"; in SpaceTypeToString() 61 return "Non Movable Space"; in SpaceTypeToString()
|
| /ark/runtime_core/docs/ |
| D | memory-management-SW-requirements.md | 20 - Bump pointer allocator 21 - Arena Allocator (objects can be deallocated at once (list of arenas, almost at once - O (number o… 22 - Freelist allocator 23 - TLAB 24 - Run of slots allocator 25 - Code allocator 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 [all …]
|
| D | glossary.md | 11 * **AOT** stands for **Ahead-Of-Time**. In compilers, terms "ahead-of-time compilation" and "AOT 15 See https://en.wikipedia.org/wiki/Ahead-of-time_compilation. 24 * **JIT** stands for **Just-In-Time**. In compilers, terms "just-in-time compilation" and "JIT 28 See https://en.wikipedia.org/wiki/Just-in-time_compilation. 31 * **Panda Assembly Language** is a low-level programming language retaining very strong 36 * **Panda Bytecode** or **PBC** is a portable hardware-independent instruction set designed for 50 * **Conservative GC** or non-precise GC works with ambiguous references, 51 i.e. it treats anything inside object boundaries like a reference. Opposite term: **Precise GC**. 64 … references on the stack are mapped (i.e., it is known when we have an object on the stack or not). 68 * **Precise GC** deals only with exact/sure references, i.e. it knows the object layout and can [all …]
|
| D | memory-management.md | 1 # Memory Management and Object Layout 7 …, so we should maximize efforts on reducing memory overhead (fragmentation and object header size). 9 The main components of Panda memory management and object model: 12 * [Object header](#object-header) 20  23 - base mode 24 - allocators with some average metrics and profile-based configurations (if available) 25 - some baseline GCs with profile-based configurations (if available) 26 - performance 27 - allocators with low allocation cost [all …]
|
| /ark/ts2abc/test262/ |
| D | CI_tests.txt | 1 built-ins/Error/length.js 2 built-ins/Error/message_property.js 3 built-ins/Error/prototype/S15.11.3.1_A1_T1.js 4 built-ins/Error/prototype/S15.11.3.1_A3_T1.js 5 built-ins/Error/prototype/S15.11.4_A3.js 6 built-ins/Error/prototype/constructor/S15.11.4.1_A1_T2.js 7 built-ins/Error/prototype/message/S15.11.4.3_A2.js 8 built-ins/Error/prototype/name/S15.11.4.2_A1.js 9 built-ins/Error/prototype/toString/15.11.4.4-10-1.js 10 built-ins/Error/prototype/toString/15.11.4.4-6-1.js [all …]
|
| D | skip_tests.json | 5 "built-ins/Promise/all/species-get-error.js", 6 "built-ins/Promise/race/species-get-error.js", 7 "language/global-code/decl-lex.js" 16 "language/expressions/template-literal/tv-utf16-escape-sequence.js" 22 "language/identifiers/part-digits-via-escape-hex.js", 23 "language/identifiers/val-dollar-sign-via-escape-hex.js", 24 "language/identifiers/vals-eng-alpha-lower-via-escape-hex.js", 25 "language/identifiers/vals-eng-alpha-upper-via-escape-hex.js", 26 "language/identifiers/vals-rus-alpha-lower-via-escape-hex.js", 27 "language/identifiers/vals-rus-alpha-upper-via-escape-hex.js", [all …]
|
| D | es2015_tests.txt | 1 built-ins/Array/S15.4.2.1_A1.1_T2.js 2 built-ins/Array/proto.js 3 built-ins/Array/proto-from-ctor-realm-zero.js 4 built-ins/Array/proto-from-ctor-realm-two.js 5 built-ins/Array/S15.4_A1.1_T9.js 6 built-ins/Array/length.js 7 built-ins/Array/S15.4.5.2_A3_T2.js 8 built-ins/Array/S15.4.5.1_A2.1_T1.js 9 built-ins/Array/S15.4.2.1_A2.1_T1.js 10 built-ins/Array/prop-desc.js [all …]
|
| /ark/runtime_core/docs/diagrams/ |
| D | gc-mark.puactivity | 6 ' http://www.apache.org/licenses/LICENSE-2.0 22 :Get an object from the stack; 23 if (object is in collected space) then(Yes) 24 if (The object is a Reference object in the same generation space with reference) then(Yes) 25 if (the referent object is marked) then(Yes) 27 :Put the object into the corresponding queue; 31 :Mark all fields in object; 37 mark object == mark object and add all non-primitive fields to the Mark Stack 38 …mark all fields in object == mark all directly referenced objects and add their un-marked fields t…
|
| /ark/ts2abc/ |
| D | LICENSE | 31 "Object" form shall mean any form resulting from mechanical 33 not limited to compiled object code, generated documentation, 37 Object form, made available under the License, as indicated by a 41 "Derivative Works" shall mean any work, whether in Source or Object 69 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 72 Work and such Derivative Works in Source or Object form. 76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 84 cross-claim or counterclaim in a lawsuit) alleging that the Work 92 modifications, and in Source or Object form, provided that You 116 wherever such third-party notices normally appear. The contents [all …]
|
| /ark/js_runtime/ |
| D | LICENSE | 31 "Object" form shall mean any form resulting from mechanical 33 not limited to compiled object code, generated documentation, 37 Object form, made available under the License, as indicated by a 41 "Derivative Works" shall mean any work, whether in Source or Object 69 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 72 Work and such Derivative Works in Source or Object form. 76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 84 cross-claim or counterclaim in a lawsuit) alleging that the Work 92 modifications, and in Source or Object form, provided that You 116 wherever such third-party notices normally appear. The contents [all …]
|
| /ark/runtime_core/runtime/include/mem/ |
| D | allocator.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 26 #include "runtime/mem/bump-allocator.h" 128 return static_cast<T *>(this->Allocate(sizeof(T) * size, DEFAULT_ALIGNMENT, nullptr)); in AllocArray() 137 // NOLINTNEXTLINE(readability-braces-around-statements,bugprone-suspicious-semicolon) in Delete() 139 ptr->~T(); in Delete() 151 void *p = ToVoidPtr(ToUintPtr(data) - SIZE_BEFORE_DATA_OFFSET); in DeleteArray() 153 // NOLINTNEXTLINE(readability-braces-around-statements, bugprone-suspicious-semicolon) in DeleteArray() 156 data->~T(); in DeleteArray() 179 * \brief iterates all objects in object allocator 187 * \brief iterates objects in all allocators except object allocator [all …]
|
| /ark/runtime_core/verification/ |
| D | verification.yaml | 6 # http://www.apache.org/licenses/LICENSE-2.0 19 private_field: Access to private object field is prohibited. 20 …protected_field: Access to protected object field from non-descendants of object class is prohibit… 22 … protected_method: Call to protected methods from non-descendants of object class is prohibited. 28 sign: Sign mismatch. Possible overflow/underflow issues and other quirks in data-flow. 31 … precision: Precision mismatch. Possible overflow/underflow issues and other quirks in data-flow. 37 - same 38 - descendant 39 - other 44 - public [all …]
|
| /ark/js_runtime/ecmascript/mem/ |
| D | gc_stats.cpp | 7 * http://www.apache.org/licenses/LICENSE-2.0 55 …LOG(INFO, RUNTIME) << " MixGC with non-concurrent mark statistic: total old gc count " << mixGCCou… in PrintMixStatisticResult() 110 … << 1 - float(compressYoungAndOldAliveSize_) / (compressYoungCommitSize_ + compressOldCommitSize_) in PrintCompressStatisticResult() 111 << " non move total free size: " << sizeToMB(compressNonMoveTotalFreeSize_) << "MB" in PrintCompressStatisticResult() 112 << " non move total commit size: " << sizeToMB(compressNonMoveTotalCommitSize_) << "MB" in PrintCompressStatisticResult() 113 …<< " non move free rate: " << float(compressNonMoveTotalFreeSize_) / compressNonMoveTotalCommitSiz… in PrintCompressStatisticResult() 120 …NativeAreaAllocator *nativeAreaAllocator = const_cast<NativeAreaAllocator *>(heap_->GetNativeAreaA… in PrintHeapStatisticResult() 121 …HeapRegionAllocator *heapRegionAllocator = const_cast<HeapRegionAllocator *>(heap_->GetHeapRegionA… in PrintHeapStatisticResult() 123 …LOG(INFO, RUNTIME) << " Anno memory usage size:" << sizeToMB(heapRegionAllocator->GetAnnoMemoryUsa… in PrintHeapStatisticResult() 125 … << " anno memory max usage size:" << sizeToMB(heapRegionAllocator->GetMaxAnnoMemoryUsage()) in PrintHeapStatisticResult() [all …]
|
| /ark/runtime_core/runtime/include/ |
| D | locks.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 51 …* Lock used for preventing object heap modifications (for example at GC<->JIT,ManagedCode interact… 53 static MutatorLock *mutator_lock; // NOLINT(misc-non-private-member-variables-in-classes) 57 …static os::memory::Mutex *custom_tls_lock; // NOLINT(misc-non-private-member-variables-in-classes)
|
| /ark/runtime_core/ |
| D | LICENSE | 31 "Object" form shall mean any form resulting from mechanical 33 not limited to compiled object code, generated documentation, 37 Object form, made available under the License, as indicated by a 41 "Derivative Works" shall mean any work, whether in Source or Object 69 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 72 Work and such Derivative Works in Source or Object form. 76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable 84 cross-claim or counterclaim in a lawsuit) alleging that the Work 92 modifications, and in Source or Object form, provided that You 116 wherever such third-party notices normally appear. The contents [all …]
|
| /ark/runtime_core/tests/cts-generator/cts-template/ |
| D | ldobj.yaml | 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 19 .record panda.Object <external> 42 panda.Object fObj 43 panda.Object[] fObjArray 49 - name: java_header 53 .record java.lang.Object <external> 73 java.lang.Object fObj 74 java.lang.Object[] fObjArray 79 - name: get_null_R [all …]
|
| D | ldobj.v.yaml | 6 # http://www.apache.org/licenses/LICENSE-2.0 15 - name: pandasm_header 19 .record panda.Object <external> 42 panda.Object fObj 43 panda.Object[] fObjArray 49 - name: java_header 53 .record java.lang.Object <external> 73 java.lang.Object fObj 74 java.lang.Object[] fObjArray 79 - name: get_null_R [all …]
|
| /ark/runtime_core/tests/verifier-tests/ |
| D | bug_2086_1.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 16 #--- 17 #- title: Get field from object 18 # description: 'Get field value from an object by field id and put it into accumulator. 22 # - sig: ldobj.64 v:in:ref, field_id 25 # - op_v_8_id_32 27 # - field_id_non_static 29 ## runner-option: verifier-failure 30 ## runner-option: bugid: 1324, 1828 31 ## runner-option: tags: verifier [all …]
|
| D | bug_2086_2.pa | 6 # http://www.apache.org/licenses/LICENSE-2.0 16 #--- 17 #- title: Get field from object 18 # description: 'Get field value from an object by field id and put it into accumulator. 22 # - sig: ldobj.64 v:in:ref, field_id 25 # - op_v_8_id_32 27 # - field_id_non_static 29 ## runner-option: verifier-failure 30 ## runner-option: bugid: 1833 31 ## runner-option: tags: verifier [all …]
|
| /ark/runtime_core/runtime/mem/gc/stw-gc/ |
| D | stw-gc.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 19 #include "runtime/include/coretypes/array-inl.h" 27 * \brief Stop the world, non-concurrent GC 39 void InitGCBits(panda::ObjectHeader *object) override; 53 bool IsMarked(const ObjectHeader *object) const override; 54 void MarkObject(ObjectHeader *object) override; 58 bool reversed_mark_ {false}; // if true - we treat marked objects as dead object
|
| /ark/js_runtime/ecmascript/ |
| D | js_api_tree_set.h | 7 * http://www.apache.org/licenses/LICENSE-2.0 20 #include "js_tagged_value-inl.h" 24 * Provide the object of non ECMA standard jsapi container. 29 static JSAPITreeSet *Cast(ObjectHeader *object) in Cast() argument 31 return static_cast<JSAPITreeSet *>(object); in Cast()
|