Home
last modified time | relevance | path

Searched full:objects (Results 1 – 25 of 573) sorted by relevance

12345678910>>...23

/arkcompiler/runtime_core/static_core/runtime/include/
Dstack_walker-inl.h25 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/
Dclass_as_object.ts.json20 "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 …]
Dsendable_class_initialization.sts25 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
Dsendable_class_initialization.ts.json29 …"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…
Dinterface_literal_prop_name.ts.json24 …"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…
Dliterals_as_prop_names.ts.json22 …"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…
Ddestructuring_for_loop.sts16 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/
Dspec_ex2.sts28 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/
Dmem_stats.h62 /// 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/
Drule149.ts.json20 "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/
Dg1gc-gc-activity.plantuml30 :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");
Dgenerational-minor-gc-activity.plantuml18 :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/
Dg1gc-gc-activity.puactivity30 :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");
Dgenerational-minor-gc-activity.puactivity18 :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/
Dgen-gc.h54 // 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/
Descape_analysis.md12 …s algorithm described by Stadler et al in [Stadler 2014]. In addition to objects that never escape…
26objects 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/
Dglobal_object_storage.cpp106 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/
Dregexp_opcode.cpp22 …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/
Dregexp_opcode.cpp23 …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/
Dtest_gc_ark_pause.py31 '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/
Drecipe52.md7 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
Drecipe149.md1 # Classes cannot be used as objects
7 ArkTS does not support using classes as objects (assigning them to variables,
Drecipe114.md1 # 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/
Dets_exceptions.h29 // 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/
Dgc_types.h123 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

12345678910>>...23