234 {
237 do {
238 ObjectPtr obj;
240 ASSERT(!has_evacuation_candidate_);
241
242 const intptr_t class_id = obj->GetClassId();
246
248 if (class_id == kWeakPropertyCid) {
250 } else if (class_id == kWeakReferenceCid) {
252 } else if (class_id == kWeakArrayCid) {
254 } else if (class_id == kFinalizerEntryCid) {
256 } else {
257 if (obj->untag()->IsCardRemembered()) {
258 ASSERT((class_id == kArrayCid) || (class_id == kImmutableArrayCid));
260 } else {
261 size = obj->untag()->VisitPointersNonvirtual(
this);
262 }
263 }
264 if (has_evacuation_candidate_) {
265 has_evacuation_candidate_ = false;
266 if (!obj->untag()->IsCardRemembered() &&
267 obj->untag()->TryAcquireRememberedBit()) {
268 thread->StoreBufferAddObjectGC(obj);
269 }
270 }
271 if (!obj->IsNewObject()) {
272 marked_bytes_ +=
size;
273 }
274 }
276 }
DART_FORCE_INLINE bool Pop(ObjectPtr *object)
intptr_t ProcessWeakProperty(WeakPropertyPtr raw_weak)
intptr_t VisitCards(ArrayPtr obj)
intptr_t ProcessWeakArray(WeakArrayPtr raw_weak)
intptr_t ProcessWeakReference(WeakReferencePtr raw_weak)
intptr_t ProcessFinalizerEntry(FinalizerEntryPtr raw_entry)
bool ProcessPendingWeakProperties()
static Thread * Current()
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size