Home
last modified time | relevance | path

Searched refs:weak_collection (Results 1 – 4 of 4) sorted by relevance

/external/v8/src/heap/
Dobjects-visiting-inl.h382 JSWeakCollection* weak_collection = in VisitWeakCollection() local
386 if (weak_collection->next() == heap->undefined_value()) { in VisitWeakCollection()
387 weak_collection->set_next(heap->encountered_weak_collections()); in VisitWeakCollection()
388 heap->set_encountered_weak_collections(weak_collection); in VisitWeakCollection()
402 if (!weak_collection->table()->IsHashTable()) return; in VisitWeakCollection()
Dmark-compact.cc2799 JSWeakCollection* weak_collection = in ProcessWeakCollections() local
2801 DCHECK(MarkCompactCollector::IsMarked(weak_collection)); in ProcessWeakCollections()
2802 if (weak_collection->table()->IsHashTable()) { in ProcessWeakCollections()
2803 ObjectHashTable* table = ObjectHashTable::cast(weak_collection->table()); in ProcessWeakCollections()
2817 weak_collection_obj = weak_collection->next(); in ProcessWeakCollections()
2827 JSWeakCollection* weak_collection = in ClearWeakCollections() local
2829 DCHECK(MarkCompactCollector::IsMarked(weak_collection)); in ClearWeakCollections()
2830 if (weak_collection->table()->IsHashTable()) { in ClearWeakCollections()
2831 ObjectHashTable* table = ObjectHashTable::cast(weak_collection->table()); in ClearWeakCollections()
2839 weak_collection_obj = weak_collection->next(); in ClearWeakCollections()
[all …]
Dheap.h808 void set_encountered_weak_collections(Object* weak_collection) { in set_encountered_weak_collections() argument
809 encountered_weak_collections_ = weak_collection; in set_encountered_weak_collections()
/external/v8/src/
Druntime.cc1750 Handle<JSWeakCollection> weak_collection) { in WeakCollectionInitialize() argument
1751 DCHECK(weak_collection->map()->inobject_properties() == 0); in WeakCollectionInitialize()
1753 weak_collection->set_table(*table); in WeakCollectionInitialize()
1754 return weak_collection; in WeakCollectionInitialize()
1761 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION()
1762 return *WeakCollectionInitialize(isolate, weak_collection); in RUNTIME_FUNCTION()
1769 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION()
1773 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION()
1783 CONVERT_ARG_HANDLE_CHECKED(JSWeakCollection, weak_collection, 0); in RUNTIME_FUNCTION()
1787 ObjectHashTable::cast(weak_collection->table())); in RUNTIME_FUNCTION()
[all …]