Flutter Engine
The Flutter Engine
|
#include <pointer_block.h>
Classes | |
class | List |
Public Types | |
typedef PointerBlock< BlockSize > | Block |
Public Member Functions | |
BlockStack () | |
~BlockStack () | |
Block * | PopNonFullBlock () |
Block * | PopEmptyBlock () |
Block * | PopNonEmptyBlock () |
Block * | PopAll () |
void | PushAll (Block *blocks) |
void | Reset () |
bool | IsEmpty () |
Block * | WaitForWork (RelaxedAtomic< uintptr_t > *num_busy, bool abort) |
void | VisitObjectPointers (ObjectPointerVisitor *visitor) |
Static Public Member Functions | |
static void | Init () |
static void | Cleanup () |
Protected Member Functions | |
bool | IsEmptyLocked () |
void | PushBlockImpl (Block *block) |
Static Protected Member Functions | |
static void | TrimGlobalEmpty () |
Protected Attributes | |
List | full_ |
List | partial_ |
Monitor | monitor_ |
Static Protected Attributes | |
static constexpr intptr_t | kMaxGlobalEmpty = 100 |
static List * | global_empty_ |
static Mutex * | global_mutex_ = nullptr |
Definition at line 89 of file pointer_block.h.
typedef PointerBlock<BlockSize> dart::BlockStack< BlockSize >::Block |
Definition at line 91 of file pointer_block.h.
dart::BlockStack< BlockSize >::BlockStack |
Definition at line 55 of file pointer_block.cc.
dart::BlockStack< BlockSize >::~BlockStack |
Definition at line 58 of file pointer_block.cc.
|
static |
Definition at line 49 of file pointer_block.cc.
|
static |
Definition at line 41 of file pointer_block.cc.
bool dart::BlockStack< BlockSize >::IsEmpty |
Definition at line 209 of file pointer_block.cc.
|
protected |
Definition at line 215 of file pointer_block.cc.
BlockStack< BlockSize >::Block * dart::BlockStack< BlockSize >::PopAll |
Definition at line 83 of file pointer_block.cc.
BlockStack< BlockSize >::Block * dart::BlockStack< BlockSize >::PopEmptyBlock |
Definition at line 185 of file pointer_block.cc.
BlockStack< BlockSize >::Block * dart::BlockStack< BlockSize >::PopNonEmptyBlock |
BlockStack< BlockSize >::Block * dart::BlockStack< BlockSize >::PopNonFullBlock |
Definition at line 174 of file pointer_block.cc.
void dart::BlockStack< BlockSize >::PushAll | ( | Block * | blocks | ) |
Definition at line 92 of file pointer_block.cc.
|
protected |
Definition at line 102 of file pointer_block.cc.
void dart::BlockStack< BlockSize >::Reset |
Definition at line 63 of file pointer_block.cc.
|
staticprotected |
Definition at line 273 of file pointer_block.cc.
void dart::BlockStack< BlockSize >::VisitObjectPointers | ( | ObjectPointerVisitor * | visitor | ) |
Definition at line 262 of file pointer_block.cc.
BlockStack< BlockSize >::Block * dart::BlockStack< BlockSize >::WaitForWork | ( | RelaxedAtomic< uintptr_t > * | num_busy, |
bool | abort | ||
) |
Definition at line 122 of file pointer_block.cc.
|
protected |
Definition at line 144 of file pointer_block.h.
|
staticprotected |
Definition at line 150 of file pointer_block.h.
|
staticprotected |
Definition at line 151 of file pointer_block.h.
|
staticconstexprprotected |
Definition at line 149 of file pointer_block.h.
|
protected |
Definition at line 146 of file pointer_block.h.
|
protected |
Definition at line 145 of file pointer_block.h.