![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <worklist.h>
Public Types | |
| using | ItemType = EntryType |
Public Member Functions | |
| Local (Worklist< EntryType, MinSegmentSize > &worklist) | |
| ~Local () | |
| Local (Local &&other) V8_NOEXCEPT | |
| Local & | operator= (Local &&) V8_NOEXCEPT=delete |
| Local (const Local &)=delete | |
| Local & | operator= (const Local &other)=delete |
| V8_INLINE void | Push (EntryType entry) |
| V8_INLINE bool | Pop (EntryType *entry) |
| bool | IsLocalAndGlobalEmpty () const |
| bool | IsLocalEmpty () const |
| bool | IsGlobalEmpty () const |
| size_t | PushSegmentSize () const |
| void | Publish () |
| void | Merge (Worklist< EntryType, MinSegmentSize >::Local &other) |
| void | Clear () |
Private Member Functions | |
| void | PublishPushSegment () |
| void | PublishPopSegment () |
| bool | StealPopSegment () |
| Segment * | NewSegment () const |
| void | DeleteSegment (internal::SegmentBase *segment) const |
| Segment * | push_segment () |
| const Segment * | push_segment () const |
| Segment * | pop_segment () |
| const Segment * | pop_segment () const |
Private Attributes | |
| Worklist< EntryType, MinSegmentSize > & | worklist_ |
| internal::SegmentBase * | push_segment_ = nullptr |
| internal::SegmentBase * | pop_segment_ = nullptr |
Definition at line 304 of file worklist.h.
| using heap::base::Worklist< EntryType, MinSegmentSize >::Local::ItemType = EntryType |
Definition at line 306 of file worklist.h.
|
explicit |
Definition at line 378 of file worklist.h.
| heap::base::Worklist< EntryType, MinSegmentSize >::Local::~Local | ( | ) |
Definition at line 385 of file worklist.h.
|
inline |
Definition at line 313 of file worklist.h.
|
delete |
| void heap::base::Worklist< EntryType, MinSegmentSize >::Local::Clear | ( | ) |
Definition at line 472 of file worklist.h.
|
inlineprivate |
| bool heap::base::Worklist< EntryType, MinSegmentSize >::Local::IsGlobalEmpty | ( | ) | const |
| bool heap::base::Worklist< EntryType, MinSegmentSize >::Local::IsLocalAndGlobalEmpty | ( | ) | const |
Definition at line 415 of file worklist.h.
| bool heap::base::Worklist< EntryType, MinSegmentSize >::Local::IsLocalEmpty | ( | ) | const |
| void heap::base::Worklist< EntryType, MinSegmentSize >::Local::Merge | ( | Worklist< EntryType, MinSegmentSize >::Local & | other | ) |
Definition at line 442 of file worklist.h.
|
inlineprivate |
|
delete |
|
delete |
| bool heap::base::Worklist< EntryType, MinSegmentSize >::Local::Pop | ( | EntryType * | entry | ) |
|
inlineprivate |
|
inlineprivate |
| void heap::base::Worklist< EntryType, MinSegmentSize >::Local::Publish | ( | ) |
Definition at line 430 of file worklist.h.
|
private |
|
private |
| void heap::base::Worklist< EntryType, MinSegmentSize >::Local::Push | ( | EntryType | entry | ) |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
private |
Definition at line 460 of file worklist.h.
|
private |
Definition at line 374 of file worklist.h.
|
private |
Definition at line 373 of file worklist.h.
|
private |
Definition at line 372 of file worklist.h.