v8  9.0.257(node16.0.0)
V8 is Google's open source JavaScript engine
cppgc::subtle Namespace Reference

Data Structures

class  DisallowGarbageCollectionScope
 
class  HeapConsistency
 
class  HeapState
 
class  NoGarbageCollectionScope
 
struct  ObjectSizeTrait
 
struct  ObjectSizeTrait< T, false >
 
struct  ObjectSizeTrait< T, true >
 

Typedefs

template<typename T >
using CrossThreadPersistent = internal::BasicCrossThreadPersistent< T, internal::StrongCrossThreadPersistentPolicy >
 
template<typename T >
using WeakCrossThreadPersistent = internal::BasicCrossThreadPersistent< T, internal::WeakCrossThreadPersistentPolicy >
 

Typedef Documentation

◆ CrossThreadPersistent

DO NOT USE: Has known caveats, see below.

CrossThreadPersistent allows retaining objects from threads other than the thread the owning heap is operating on.

Known caveats:

  • Does not protect the heap owning an object from terminating.
  • Reaching transitively through the graph is unsupported as objects may be moved concurrently on the thread owning the object.

Definition at line 325 of file cross-thread-persistent.h.

◆ WeakCrossThreadPersistent

DO NOT USE: Has known caveats, see below.

CrossThreadPersistent allows weakly retaining objects from threads other than the thread the owning heap is operating on.

Known caveats:

  • Does not protect the heap owning an object from terminating.
  • Reaching transitively through the graph is unsupported as objects may be moved concurrently on the thread owning the object.

Definition at line 340 of file cross-thread-persistent.h.