Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
dart::FastForwardMap Class Reference
Inheritance diagram for dart::FastForwardMap:
dart::ForwardMapBase

Public Member Functions

 FastForwardMap (Thread *thread, IdentityMap *map)
 
ObjectPtr ForwardedObject (ObjectPtr object)
 
void Insert (ObjectPtr from, ObjectPtr to, intptr_t size)
 
void AddTransferable (TransferableTypedDataPtr from, TransferableTypedDataPtr to)
 
void AddWeakProperty (WeakPropertyPtr from)
 
void AddWeakReference (WeakReferencePtr from)
 
void AddExternalTypedData (ExternalTypedDataPtr to)
 
void AddObjectToRehash (ObjectPtr to)
 
void AddExpandoToRehash (ObjectPtr to)
 
- Public Member Functions inherited from dart::ForwardMapBase
 ForwardMapBase (Thread *thread)
 

Friends

class FastObjectCopy
 
class ObjectGraphCopier
 

Additional Inherited Members

- Protected Member Functions inherited from dart::ForwardMapBase
void FinalizeTransferable (const TransferableTypedData &from, const TransferableTypedData &to)
 
void FinalizeExternalTypedData (const ExternalTypedData &to)
 
- Protected Attributes inherited from dart::ForwardMapBase
Threadthread_
 
Zonezone_
 

Detailed Description

Definition at line 623 of file object_graph_copy.cc.

Constructor & Destructor Documentation

◆ FastForwardMap()

dart::FastForwardMap::FastForwardMap ( Thread thread,
IdentityMap map 
)
inlineexplicit

Definition at line 625 of file object_graph_copy.cc.

626 : ForwardMapBase(thread),
627 map_(map),
628 raw_from_to_(thread->zone(), 20),
629 raw_transferables_from_to_(thread->zone(), 0),
630 raw_objects_to_rehash_(thread->zone(), 0),
631 raw_expandos_to_rehash_(thread->zone(), 0) {
632 raw_from_to_.Resize(2);
633 raw_from_to_[0] = Object::null();
634 raw_from_to_[1] = Object::null();
635 fill_cursor_ = 2;
636 }
void Resize(intptr_t new_length)
ForwardMapBase(Thread *thread)
static ObjectPtr null()
Definition object.h:433

Member Function Documentation

◆ AddExpandoToRehash()

void dart::FastForwardMap::AddExpandoToRehash ( ObjectPtr  to)
inline

Definition at line 662 of file object_graph_copy.cc.

662{ raw_expandos_to_rehash_.Add(to); }
void Add(const T &value)

◆ AddExternalTypedData()

void dart::FastForwardMap::AddExternalTypedData ( ExternalTypedDataPtr  to)
inline

Definition at line 657 of file object_graph_copy.cc.

657 {
658 raw_external_typed_data_to_.Add(to);
659 }

◆ AddObjectToRehash()

void dart::FastForwardMap::AddObjectToRehash ( ObjectPtr  to)
inline

Definition at line 661 of file object_graph_copy.cc.

661{ raw_objects_to_rehash_.Add(to); }

◆ AddTransferable()

void dart::FastForwardMap::AddTransferable ( TransferableTypedDataPtr  from,
TransferableTypedDataPtr  to 
)
inline

Definition at line 648 of file object_graph_copy.cc.

649 {
650 raw_transferables_from_to_.Add(from);
651 raw_transferables_from_to_.Add(to);
652 }

◆ AddWeakProperty()

void dart::FastForwardMap::AddWeakProperty ( WeakPropertyPtr  from)
inline

Definition at line 653 of file object_graph_copy.cc.

653{ raw_weak_properties_.Add(from); }

◆ AddWeakReference()

void dart::FastForwardMap::AddWeakReference ( WeakReferencePtr  from)
inline

Definition at line 654 of file object_graph_copy.cc.

654 {
655 raw_weak_references_.Add(from);
656 }

◆ ForwardedObject()

ObjectPtr dart::FastForwardMap::ForwardedObject ( ObjectPtr  object)
inline

Definition at line 638 of file object_graph_copy.cc.

638 {
639 return map_->ForwardedObject(object, FastFromTo(raw_from_to_));
640 }
DART_FORCE_INLINE ObjectPtr ForwardedObject(const S &object, T from_to)

◆ Insert()

void dart::FastForwardMap::Insert ( ObjectPtr  from,
ObjectPtr  to,
intptr_t  size 
)
inline

Definition at line 642 of file object_graph_copy.cc.

642 {
643 map_->Insert(from, to, FastFromTo(raw_from_to_),
644 /*check_for_safepoint*/ false);
645 allocated_bytes += size;
646 }
DART_FORCE_INLINE void Insert(const S &from, const S &to, T from_to, bool check_for_safepoint)
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
Definition switches.h:259

Friends And Related Symbol Documentation

◆ FastObjectCopy

friend class FastObjectCopy
friend

Definition at line 665 of file object_graph_copy.cc.

◆ ObjectGraphCopier

friend class ObjectGraphCopier
friend

Definition at line 666 of file object_graph_copy.cc.


The documentation for this class was generated from the following file: