Home
last modified time | relevance | path

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

12345678910

/arkcompiler/runtime_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, reg_info, res_reg)) { in IterateRegsForCFrameStatic()
87 if (objects) { in IterateRegsForCFrameStatic()
93 … return !res_reg.HasObject() || InvokeCallback<objects, with_reg_info>(func, reg_info, res_reg); in IterateRegsForCFrameStatic()
101 template <bool objects, bool with_reg_info, typename Func>
113 if (!InvokeCallback<objects, with_reg_info>(func, reg_info, res_reg)) { in IterateRegsForCFrameDynamic()
120 if (objects) { in IterateRegsForCFrameDynamic()
125 … return !res_reg.HasObject() || InvokeCallback<objects, with_reg_info>(func, reg_info, res_reg); in IterateRegsForCFrameDynamic()
[all …]
/arkcompiler/runtime_core/runtime/mem/
Dmem_stats.h66 * Number of allocated objects for all time
71 * Number of freed objects for all time
76 * Number of allocated large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects for all time
81 * Number of freed large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects for all time
86 * Number of allocated humongous (size > FREELIST_MAX_ALLOC_SIZE) objects for all time
91 * Number of freed humongous (size > FREELIST_MAX_ALLOC_SIZE) objects for all time
96 * Number of alive objects now
101 * Number of alive large and regular (size <= FREELIST_MAX_ALLOC_SIZE) objects now
106 * Number of alive humongous (size > FREELIST_MAX_ALLOC_SIZE) objects now
Dpygote_space_allocator.h37 STATE_PYGOTE_INIT, // before pygote fork, used for small non-movable objects
38 STATE_PYGOTE_FORKING, // at first pygote fork, allocate for copied objects
39 STATE_PYGOTE_FORKED, // after fork, can't allocate/free objects in it
Dregion_allocator.h195 * \brief Iterates over all objects allocated by this allocator.
231 * and move all alive objects to the regions with type /param regions_type_to.
234 * @tparam regions_type_to - type of regions to which we want to move all alive objects.
236 * @param death_checker - checker what will return objects status for iterated object.
251 * and move all alive objects to the regions with type /param regions_type_to.
253 * @tparam regions_type_to - type of regions to which we want to move all alive objects.
256 * @param death_checker - checker what will return objects status for iterated object.
266 * and move all alive objects to the regions with type /param regions_type_to.
268 * @tparam regions_type_to - type of regions to which we want to move all alive objects.
271 * @param death_checker - checker what will return objects status for iterated object.
[all …]
/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;
Dgenerational-major-gc-activity.puactivity18 :Mark objects in the tenured space;
19 :Sweep tenured space(remove non-marked objects);
Dgenerational-concurrent-major-gc-activity.puactivity21 :Concurrently mark objects in the tenured space;
26 :Sweep tenured space(remove non-marked objects);
/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/verification/util/
Dequiv_classes.h221 void Equate(std::initializer_list<ObjIndex> objects) in Equate() argument
223 Equate(objects.begin(), objects.end()); in Equate()
267 bool IsAllEqual(std::initializer_list<ObjIndex> objects) in IsAllEqual() argument
269 return IsAllEqual(objects.begin(), objects.end()); in IsAllEqual()
364 void Equate(std::initializer_list<Obj> objects)
366 Equate(objects.begin(), objects.end());
392 bool IsAllEqual(std::initializer_list<Obj> objects)
394 return IsAllEqual(objects.begin(), objects.end());
/arkcompiler/runtime_core/runtime/mem/gc/gen-gc/
Dgen-gc.h83 * Marks objects in young generation
107 * ReMarks objects after Concurrent marking
114 * Mark objects for the whole heap on pause
120 * Collect dead objects in young generation and move survivors
146 * Update all refs to moved objects
151 * Sweep dead objects in tenured space on pause
156 * Concurrent sweep dead objects in tenured space
/arkcompiler/runtime_core/runtime/mem/refstorage/
Dglobal_object_storage.cpp113 auto objects = PandaVector<ObjectHeader *>(allocator_->Adapter()); in GetAllObjects() local
116 objects.insert(objects.end(), global_objects.begin(), global_objects.end()); in GetAllObjects()
119 objects.insert(objects.end(), weak_objects.begin(), weak_objects.end()); in GetAllObjects()
121 return objects; in GetAllObjects()
/arkcompiler/runtime_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
Dgc_marker.h64 * @param objects_stack - stack with objects
72 * @param objects_stack - stack with objects
78 * For arrays of objects add all not null object references to the objects_stack
79 * @param objects_stack - stack with objects
104 * @param objects_stack - stack with objects
112 * @param objects_stack - stack with objects
118 * For arrays of objects add all not null object references to the objects_stack
119 * @param objects_stack - stack with objects
/arkcompiler/ets_runtime/ecmascript/mem/
Dmem.h64 // Objects which are larger than half of the region size are huge objects.
65 // Regular objects will be allocated on regular regions and migrated on spaces.
67 // region as the border of regular objects.
/arkcompiler/runtime_core/runtime/include/mem/
Dallocator.h57 ALLOCATOR_PURPOSE_OBJECT, // Allocator for objects
181 * \brief iterates all objects in object allocator
189 * \brief iterates objects in all allocators except object allocator
321 * Iterate over all objects and reclaim memory for objects reported as true by gc_object_visitor
328 * Return max size for regular size objects
329 * @return max size in bytes for regular size objects
334 * Return max size for large objects
335 * @return max size in bytes for large objects
593 …g LargeObjectAllocator = FreeListAllocator<ObjectAllocConfig>; // Allocator used for large objects
594 …bjectAllocator = HumongousObjAllocator<ObjectAllocConfig>; // Allocator used for humongous objects
[all …]
/arkcompiler/runtime_core/docs/
Dmemory-management-SW-requirements.md13 GC used to recycle memory allocated as result of application work(objects, compiled code etc).
21 - Arena Allocator (objects can be deallocated at once(list of arenas, almost at once - O(number of …
33 - Non-moving space(space for non-movable objects)
Dglossary.md49 * **Compacting GC** is a GC which compacts live objects to reduce fragmentation.
66 It means that all objects which are currently in use are known and we know how to get value
69 extract references to the objects. Opposite term: **Conservative GC**.
71 (one is empty and one used for allocation) and we just copy objects from one space to another
78 * **white object** is an object non visited by GC(at the end of GC white objects will be reclaimed)
/arkcompiler/runtime_core/runtime/tests/
Dallocator_test_base.h247 * \brief Try to allocate too many objects, must not allocate all objects
251 * Allocate too many elements, so must not allocate all objects
275 * \brief Allocate and free objects, collect via allocator method
282 * @param free_granularity - granularity for objects free before collection
285 …* Allocate objects, free part of objects and collect via allocator method with free calls during t…
293 * \brief Allocate and free objects, collect via allocator method
300 * @param free_granularity - granularity for objects free before collection
303 * Allocate objects, free part of objects and iterate via allocator method.
311 * \brief Allocate and free objects, iterate via allocator method iterating in range
319 * @param free_granularity - granularity for objects free before collection
[all …]
Dmem_stats_gen_gc_test.cpp48 …* Some allocators have Large objects, it's not the same as Humongous. Objects can be less than Hum…
121 void MakeObjectsAlive(ObjVec objects, int every = 1);
122 void MakeObjectsPermAlive(ObjVec objects, int every = 1);
136 … // Allocate a series of objects in a specific space. If DO_SAVE is true, a subsequence of objects
139 …// If IS_SINGLE is false, then an array of objects of different sizes is allocated in triplets twi…
140 …// Saved subsequence contains 2 equal subsequences of objects (2 of 3 objs in each triplets are ga…
204 … // for humongous objects in G1 we calculate size of the region instead of just alignment size in MakeAllocationsWithRepeats()
228 void MemStatsGenGCTest::MakeObjectsAlive(ObjVec objects, int every) in MakeObjectsAlive() argument
231 for (auto *obj : objects) { in MakeObjectsAlive()
256 void MemStatsGenGCTest::MakeObjectsPermAlive(ObjVec objects, int every) in MakeObjectsPermAlive() argument
[all …]
/arkcompiler/runtime_core/runtime/mem/gc/g1/
Dg1-gc.h178 * Marks objects in collection set (young-generation + maybe some tenured regions).
199 * ReMarks objects after Concurrent marking
211 * Collect dead objects in young generation and move survivors
235 * Update all refs to moved objects
262 * ReMarks objects after Concurrent marking and actualize information about live bytes
276 * Estimate space in tenured to objects from collectible regions
331 …* After first process it stores humongous objects only, after marking them it's still store them f…
351 …// For such objects GC don't store each reference. It just put the whole object into unique_object…
361 …// unique_objects_from_remsets_ contains objects from remsets which have a reference to the collec…
/arkcompiler/runtime_core/libpandabase/mem/
Dspace.h28 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
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Dnewobj.yaml37 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
200 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
241 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
284 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
286 …description: Check that two objects created by 'newobj' instructions are different in PandaAssembl…
345 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
347 …description: Check that two objects created by 'newobj' instructions are different in PandaAssembl…
413 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
415 description: Check that objects fields are properly initialized in PandaAssembly context.
760 …default values (i.e. 0 for primitives and null for objects) and put a reference to the newly creat…
[all …]
/arkcompiler/runtime_core/runtime/tooling/
Ddebug_inf.cpp60 // NOLINTNEXTLINE(readability-identifier-naming, fuchsia-statically-constructed-objects)
62 // NOLINTNEXTLINE(readability-identifier-naming, fuchsia-statically-constructed-objects)
69 // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
71 // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
73 // NOLINTNEXTLINE(fuchsia-statically-constructed-objects)
/arkcompiler/ets_runtime/ecmascript/ic/tests/
Dprofile_type_info_test.cpp68 …* profiletypeinfo object.Then define different profiletypeaccessor objects according to …
115 …* object.Then define profiletypeaccessor objects according to element in the array,profi…
117 …* When different profiletypeaccessor objects call the AddHandlerWithoutKey function,the …
174 …* object.Then define profiletypeaccessor objects according to element in the array,profi…
176 …* When different profiletypeaccessor objects call the AddHandlerWithoutKey function,the …
206 …* object.Then define profiletypeaccessor objects according to element in the array,profi…
208 …* and handler value.When different profiletypeaccessor objects call the AddHandlerWithou…
260 …* object.Then define profiletypeaccessor objects according to element in the array,diffe…
261 …* ProfileTypeAccessor objects call the "AddGlobalHandlerKey" function,the data stored in…
303 …* object.Then define profiletypeaccessor objects according to element in the array,diffe…
[all …]

12345678910