struct CleanupNode
Defined at line 38 of file ../../third_party/protobuf/src/google/protobuf/arena_cleanup.h
CleanupNode contains the object (`elem`) that needs to be
destroyed, and the function to destroy it (`destructor`)
elem must be aligned at minimum on a 4 byte boundary.
Public Members
void * elem
void (*)(void *) destructor
Public Methods
void Prefetch ()
Optimization: performs a prefetch on the elem for the cleanup node. We
explicitly use NTA prefetch here to avoid polluting remote caches: we are
destroying these instances, there is no purpose for these cache lines to
linger around in remote caches.
Defined at line 43 of file ../../third_party/protobuf/src/google/protobuf/arena_cleanup.h
void Destroy ()
Destroys the object referenced by the cleanup node.
Defined at line 50 of file ../../third_party/protobuf/src/google/protobuf/arena_cleanup.h