| /arkcompiler/runtime_core/static_core/runtime/include/ |
| D | stack_walker-inl.h | 25 template <bool OBJECTS, bool WITH_REG_INFO, class VRegRef, typename Func> 29 if (OBJECTS && !vreg.HasObject()) { in InvokeCallback() 67 template <bool OBJECTS, bool WITH_REG_INFO, typename Func> 80 if (!InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg)) { in IterateRegsForCFrameStatic() 87 if (OBJECTS) { in IterateRegsForCFrameStatic() 93 … return !resReg.HasObject() || InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg); in IterateRegsForCFrameStatic() 101 template <bool OBJECTS, bool WITH_REG_INFO, typename Func> 113 if (!InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg)) { in IterateRegsForCFrameDynamic() 120 if (OBJECTS) { in IterateRegsForCFrameDynamic() 125 … return !resReg.HasObject() || InvokeCallback<OBJECTS, WITH_REG_INFO>(func, regInfo, resReg); in IterateRegsForCFrameDynamic() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/linter/test/ |
| D | class_as_object.ts.json | 20 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 27 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 41 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 55 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 62 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 76 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 83 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 97 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 104 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" [all …]
|
| D | sendable_class_initialization.sts | 25 prop3: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited 26 prop4: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 27 …prop5: SendableClass9 | T | BigInt = {a: 1}; // ERROR, the initialization for "Sendable" objects i… 28 …prop6: SendableClass9 | T | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects … 33 let v2: SendableClass9 = {a: 1}; // ERROR, the initialization for "Sendable" objects is limited 34 let v3: SendableClass9 = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 35 …nonSendableClass9 | BigInt = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited 36 …| nonSendableClass9 | null = [1, 2]; // ERROR, the initialization for "Sendable" objects is limited
|
| D | sendable_class_initialization.ts.json | 29 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 36 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 50 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 64 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 78 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 85 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 92 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal… 99 …"rule": "Objects of \"Sendable\" type can not be initialized using object literal or array literal…
|
| D | interface_literal_prop_name.ts.json | 24 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 33 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 42 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 49 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 58 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 67 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | literals_as_prop_names.ts.json | 22 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 31 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 68 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 98 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 107 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers… 116 …"rule": "Objects with property names that are not identifiers are not supported (arkts-identifiers…
|
| D | destructuring_for_loop.sts | 16 const objects: { a: number; b: string }[] = [ 21 for (const { a, b } of objects) { 35 for ({ a, b } of objects) {
|
| /arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/12.indexing_expression/01.array_indexing_expression/ |
| D | spec_ex2.sts | 28 const objects: RefType[] = [new RefType(), new RefType()] 29 const object = objects[1] 31 assert objects[0].field == 666 32 assert objects[1].field == 777 33 // console.log(objects[0].filed) // prints 666 34 // console.log(objects[1].filed) // prints 777
|
| /arkcompiler/runtime_core/static_core/runtime/mem/ |
| D | mem_stats.h | 62 /// Number of allocated objects for all time 65 /// Number of freed objects for all time 68 /// Number of allocated large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects for all time 71 /// Number of freed large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects for all time 74 /// Number of allocated humongous (size > FREELIST_MAX_ALLOC_SIZE) objects for all time 77 /// Number of freed humongous (size > FREELIST_MAX_ALLOC_SIZE) objects for all time 80 /// Number of alive objects now 83 /// Number of alive large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects now 86 /// Number of alive humongous (size > FREELIST_MAX_ALLOC_SIZE) objects now
|
| /arkcompiler/ets_frontend/ets2panda/linter/test_rules/ |
| D | rule149.ts.json | 20 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 27 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 34 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 41 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 55 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 62 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 76 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 83 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 97 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" 174 "rule": "Classes cannot be used as objects (arkts-no-classes-as-obj)" [all …]
|
| /arkcompiler/runtime_core/static_core/docs/diagrams/ |
| D | g1gc-gc-activity.plantuml | 30 :Mark objects by traversing object stack obtained from the roots; 31 :Compact: copy marked/alive objects to the old regions(create new if required) 32 Note: only if occupied by alive objects space in region < some threshold; 33 :Update references to the moved objects; 34 :Update RemSets(remove freed regions from RemSets, mark cards with moved objects as "dirty");
|
| D | generational-minor-gc-activity.plantuml | 18 :Mark objects in young space; 19 :Copy marked/alive objects from young space to the tenured space; 20 :Update references to the moved objects;
|
| /arkcompiler/runtime_core/docs/diagrams/ |
| D | g1gc-gc-activity.puactivity | 30 :Mark objects by traversing object stack obtained from the roots; 31 :Compact: copy marked/alive objects to the old regions(create new if required) 32 Note: only if occupied by alive objects space in region < some threshold; 33 :Update references to the moved objects; 34 :Update RemSets(remove freed regions from RemSets, mark cards with moved objects as "dirty");
|
| D | generational-minor-gc-activity.puactivity | 18 :Mark objects in young space; 19 :Copy marked/alive objects from young space to the tenured space; 20 :Update references to the moved objects;
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/gen-gc/ |
| D | gen-gc.h | 54 // Gen GC can not pin objects in young space, so Gen GC does not support pinning in IsPinningSupported() 94 * Marks objects in young generation 118 * Concurrently marking all objects 124 * ReMarks objects after Concurrent marking 131 * Mark objects for the whole heap on pause 136 /// Collect dead objects in young generation and move survivors 155 /// Update all refs to moved objects 158 /// Sweep dead objects in tenured space 162 /// Sweep dead objects in young space
|
| /arkcompiler/runtime_core/static_core/compiler/docs/ |
| D | escape_analysis.md | 12 …s algorithm described by Stadler et al in [Stadler 2014]. In addition to objects that never escape… 26 …objects that are alive at the beginning of the current block and are alive at the end of all the p… 31 * set of objects whose allocation could be either eliminated, or at least moved to some other place; 37 Scalar replacement uses the state described above to remove virtual objects allocations and insert … 40 * Materialize virtual objects where needed; 122 updated all save states by removing virtual objects and inserting new materialized objects; 127 …2014] the current escape analysis pass merges object states only for the objects that are known to…
|
| /arkcompiler/runtime_core/static_core/runtime/mem/refstorage/ |
| D | global_object_storage.cpp | 106 auto objects = PandaVector<ObjectHeader *>(allocator_->Adapter()); in GetAllObjects() local 109 objects.insert(objects.end(), globalObjects.begin(), globalObjects.end()); in GetAllObjects() 112 objects.insert(objects.end(), weakObjects.begin(), weakObjects.end()); in GetAllObjects() 115 objects.insert(objects.end(), fixedObjects.begin(), fixedObjects.end()); in GetAllObjects() 117 return objects; in GetAllObjects()
|
| /arkcompiler/runtime_core/static_core/runtime/regexp/ecmascript/ |
| D | regexp_opcode.cpp | 22 …pCode g_gSaveStartOpcode = SaveStartOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 23 …ode g_gSaveEndOpcode = SaveEndOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 24 … g_gCharOpcode = CharOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 25 … g_gGotoOpcode = GotoOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 26 …pCode g_gSplitNextOpcode = SplitNextOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 27 …OpCode g_gSplitFirstOpcode = SplitFirstOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 28 …e g_gMatchOpcode = MatchOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 29 … g_gLoopOpcode = LoopOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 30 …OpCode g_gLoopGreedyOpcode = LoopGreedyOpCode(); // NOLINT(fuchsia-statically-constructed-objects) 31 …Code g_gPushCharOpcode = PushCharOpCode(); // NOLINT(fuchsia-statically-constructed-objects) [all …]
|
| /arkcompiler/ets_runtime/ecmascript/regexp/ |
| D | regexp_opcode.cpp | 23 …e g_saveStartOpcode = SaveStartOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 24 …g_saveEndOpcode = SaveEndOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 25 …harOpcode = CharOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 26 …otoOpcode = GotoOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 27 …e g_splitNextOpcode = SplitNextOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 29 …FirstOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 30 …tchOpCode g_matchOpcode = MatchOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 31 …opOpCode g_loopOpcode = LoopOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 33 …); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) 34 … g_pushCharOpcode = PushCharOpCode(); // NOLINTNEXTLINE(fuchsia-statically-constructed-objects) [all …]
|
| /arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/ |
| D | test_gc_ark_pause.py | 31 'G1 GC freed 4234(4MB), 0(0B) LOS objects, 82% free, 46MB/256MB, ' \ 41 self.assertEqual(4234, pev.freed_object_count, 'freed objects count is correct') 42 self.assertEqual(4 * 1024 * 1024, pev.freed_object_mem, 'freed objects memory is correct') 43 self.assertEqual(0, pev.freed_large_object_count, 'freed large objects count is correct') 44 self.assertEqual(0, pev.freed_large_object_mem, 'freed large objects memory is correct')
|
| /arkcompiler/ets_frontend/ets2panda/linter/docs/rules/ |
| D | recipe52.md | 7 ArkTS does not support re-assigning a method for objects. In the statically 8 types languages, the layout of objects is fixed and all instances of the same 11 If you need to add specific behavior for certain objects, you can create
|
| D | recipe149.md | 1 # Classes cannot be used as objects 7 ArkTS does not support using classes as objects (assigning them to variables,
|
| D | recipe114.md | 1 # Namespaces cannot be used as objects 7 ArkTS does not support the usage of namespaces as objects.
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
| D | ets_exceptions.h | 29 // NOTE: Is used to throw all language exceptional objects (currently Errors and Exceptions) 32 // NOTE: Is used to throw all language exceptional objects (currently Errors and Exceptions) 38 // NOTE: Is used to throw all language exceptional objects (currently Errors and Exceptions)
|
| /arkcompiler/runtime_core/static_core/runtime/mem/gc/ |
| D | gc_types.h | 123 GC_NONE = 0, // Non collected objects 124 GC_MINOR = 1U, // Objects collected at the minor GC 125 GC_MAJOR = 1U << 1U, // Objects collected at the major GC (MAJOR usually includes MINOR) 126 …GC_FULL = 1U << 2U, // Can collect objects from some spaces which very rare contains GC candidat… 128 GC_ALL = GC_MINOR | GC_MAJOR | GC_FULL, // Can collect objects at any phase
|