Flutter Engine
The Flutter Engine
|
#include <isolate.h>
Public Types | |
enum | LibMsgId { kPauseMsg = 1 , kResumeMsg = 2 , kPingMsg = 3 , kKillMsg = 4 , kAddExitMsg = 5 , kDelExitMsg = 6 , kAddErrorMsg = 7 , kDelErrorMsg = 8 , kErrorFatalMsg = 9 , kInterruptMsg = 10 , kInternalKillMsg = 11 , kDrainServiceExtensionsMsg = 12 , kCheckForReload = 13 } |
enum | LibMsgPriority { kImmediateAction = 0 , kBeforeNextEventAction = 1 , kAsEventAction = 2 } |
Friends | |
class | Dart |
class | IsolateKillerVisitor |
class | Become |
class | GCCompactor |
class | GCMarker |
class | SafepointHandler |
class | ObjectGraph |
class | HeapSnapshotWriter |
class | Scavenger |
class | HeapIterationScope |
class | ServiceIsolate |
class | Thread |
class | Timeline |
class | IsolateGroup |
Isolate * | CreateWithinExistingIsolateGroup (IsolateGroup *g, const char *n, char **e) |
Additional Inherited Members | |
Protected Member Functions inherited from dart::BaseIsolate | |
BaseIsolate () | |
~BaseIsolate () | |
Protected Attributes inherited from dart::BaseIsolate | |
Thread * | scheduled_mutator_thread_ = nullptr |
Thread * | mutator_thread_ = nullptr |
Enumerator | |
---|---|
kPauseMsg | |
kResumeMsg | |
kPingMsg | |
kKillMsg | |
kAddExitMsg | |
kDelExitMsg | |
kAddErrorMsg | |
kDelErrorMsg | |
kErrorFatalMsg | |
kInterruptMsg | |
kInternalKillMsg | |
kDrainServiceExtensionsMsg | |
kCheckForReload |
Definition at line 960 of file isolate.h.
Enumerator | |
---|---|
kImmediateAction | |
kBeforeNextEventAction | |
kAsEventAction |
dart::Isolate::~Isolate | ( | ) |
Definition at line 1780 of file isolate.cc.
void dart::Isolate::AddErrorListener | ( | const SendPort & | listener | ) |
Definition at line 2316 of file isolate.cc.
Definition at line 2248 of file isolate.cc.
bool dart::Isolate::AddResumeCapability | ( | const Capability & | capability | ) |
Definition at line 2197 of file isolate.cc.
|
inline |
void dart::Isolate::AppendServiceExtensionCall | ( | const Instance & | closure, |
const String & | method_name, | ||
const Array & | parameter_keys, | ||
const Array & | parameter_values, | ||
const Instance & | reply_port, | ||
const Instance & | id | ||
) |
Definition at line 3332 of file isolate.cc.
|
inline |
|
inline |
|
inline |
ObjectPtr dart::Isolate::CallDeferredLoadHandler | ( | intptr_t | id | ) |
Definition at line 1941 of file isolate.cc.
|
inline |
|
inlinestatic |
void dart::Isolate::CloseReceivePort | ( | const ReceivePort & | receive_port | ) |
Definition at line 3785 of file isolate.cc.
FfiCallbackMetadata::Trampoline dart::Isolate::CreateAsyncFfiCallback | ( | Zone * | zone, |
const Function & | send_function, | ||
Dart_Port | send_port | ||
) |
Definition at line 3732 of file isolate.cc.
|
inlinestatic |
FfiCallbackMetadata::Trampoline dart::Isolate::CreateIsolateLocalFfiCallback | ( | Zone * | zone, |
const Function & | trampoline, | ||
const Closure & | target, | ||
bool | keep_isolate_alive | ||
) |
Definition at line 3740 of file isolate.cc.
ReceivePortPtr dart::Isolate::CreateReceivePort | ( | const String & | debug_name | ) |
Definition at line 3758 of file isolate.cc.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
void dart::Isolate::DecrementSpawnCount | ( | ) |
Definition at line 3716 of file isolate.cc.
|
inline |
|
inlinestatic |
void dart::Isolate::DeferredMarkLiveTemporaries | ( | ) |
Definition at line 2790 of file isolate.cc.
void dart::Isolate::DeleteFfiCallback | ( | FfiCallbackMetadata::Trampoline | callback | ) |
Definition at line 3801 of file isolate.cc.
|
inline |
|
static |
Definition at line 3590 of file isolate.cc.
|
static |
Definition at line 3595 of file isolate.cc.
ObjectIdRing * dart::Isolate::EnsureObjectIdRing | ( | ) |
Definition at line 3014 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
void dart::Isolate::FlagsCopyFrom | ( | const Dart_IsolateFlags & | api_flags | ) |
Definition at line 1674 of file isolate.cc.
void dart::Isolate::FlagsCopyTo | ( | Dart_IsolateFlags * | api_flags | ) | const |
Definition at line 1661 of file isolate.cc.
|
static |
Definition at line 1648 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
bool dart::Isolate::HasLivePorts | ( | ) |
Definition at line 3752 of file isolate.cc.
bool dart::Isolate::HasOpenNativeCallables | ( | ) |
Definition at line 3811 of file isolate.cc.
bool dart::Isolate::HasPendingMessages | ( | ) |
Definition at line 1356 of file isolate.cc.
void dart::Isolate::IncrementSpawnCount | ( | ) |
Definition at line 3711 of file isolate.cc.
|
inline |
void dart::Isolate::init_loaded_prefixes_set_storage | ( | ) |
Definition at line 2796 of file isolate.cc.
|
inlinestatic |
ErrorPtr dart::Isolate::InvokePendingServiceExtensionCalls | ( | ) |
Definition at line 3253 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
dart::Isolate::ISOLATE_METRIC_LIST | ( | ISOLATE_METRIC_ACCESSOR | ) |
|
inline |
|
static |
Definition at line 3600 of file isolate.cc.
|
static |
Definition at line 3541 of file isolate.cc.
bool dart::Isolate::IsPaused | ( | ) | const |
Definition at line 2005 of file isolate.cc.
bool dart::Isolate::IsPrefixLoaded | ( | const LibraryPrefix & | prefix | ) | const |
Definition at line 2802 of file isolate.cc.
|
inline |
Definition at line 991 of file isolate.h.
|
inlinestatic |
Definition at line 1445 of file isolate.h.
|
static |
Definition at line 3609 of file isolate.cc.
|
static |
Definition at line 3696 of file isolate.cc.
|
static |
Definition at line 3701 of file isolate.cc.
Definition at line 3706 of file isolate.cc.
|
inline |
Definition at line 3549 of file isolate.cc.
|
static |
Definition at line 3561 of file isolate.cc.
InstancePtr dart::Isolate::LookupServiceExtensionHandler | ( | const String & | name | ) |
Definition at line 3421 of file isolate.cc.
|
inline |
const char * dart::Isolate::MakeRunnable | ( | ) |
Definition at line 2140 of file isolate.cc.
void dart::Isolate::MakeRunnableLocked | ( | ) |
Definition at line 2154 of file isolate.cc.
MessageHandler * dart::Isolate::message_handler | ( | ) | const |
Definition at line 2416 of file isolate.cc.
|
inline |
Thread * dart::Isolate::mutator_thread | ( | ) | const |
Definition at line 1920 of file isolate.cc.
|
inline |
|
inline |
bool dart::Isolate::NotifyErrorListeners | ( | const char * | msg, |
const char * | stacktrace | ||
) |
Definition at line 2362 of file isolate.cc.
void dart::Isolate::NotifyExitListeners | ( | ) |
Definition at line 2299 of file isolate.cc.
|
inline |
|
inline |
|
inline |
Dart_Port dart::Isolate::origin_id | ( | ) |
Definition at line 1990 of file isolate.cc.
|
inline |
void dart::Isolate::PauseEventHandler | ( | ) |
Definition at line 3458 of file isolate.cc.
ErrorPtr dart::Isolate::PausePostRequest | ( | ) |
Definition at line 2013 of file isolate.cc.
|
inline |
void dart::Isolate::PrintJSON | ( | JSONStream * | stream, |
bool | ref = true |
||
) |
Definition at line 3084 of file isolate.cc.
void dart::Isolate::PrintMemoryUsageJSON | ( | JSONStream * | stream | ) |
Definition at line 3208 of file isolate.cc.
void dart::Isolate::PrintPauseEventJSON | ( | JSONStream * | stream | ) |
Definition at line 3212 of file isolate.cc.
void dart::Isolate::ProcessFreeSampleBlocks | ( | Thread * | thread | ) |
|
inline |
|
inlinestatic |
void dart::Isolate::RegisterServiceExtensionHandler | ( | const String & | name, |
const Instance & | closure | ||
) |
Definition at line 3385 of file isolate.cc.
void dart::Isolate::RememberLiveTemporaries | ( | ) |
Definition at line 2784 of file isolate.cc.
void dart::Isolate::RemoveErrorListener | ( | const SendPort & | listener | ) |
Definition at line 2347 of file isolate.cc.
void dart::Isolate::RemoveExitListener | ( | const SendPort & | listener | ) |
Definition at line 2283 of file isolate.cc.
bool dart::Isolate::RemoveResumeCapability | ( | const Capability & | capability | ) |
Definition at line 2230 of file isolate.cc.
|
inline |
void dart::Isolate::Run | ( | ) |
Definition at line 2411 of file isolate.cc.
|
inline |
|
inline |
void dart::Isolate::ScheduleInterrupts | ( | uword | interrupt_bits | ) |
Definition at line 1967 of file isolate.cc.
|
static |
Definition at line 1038 of file isolate.cc.
void dart::Isolate::SendInternalLibMessage | ( | LibMsgId | msg_id, |
uint64_t | capability | ||
) |
Definition at line 1033 of file isolate.cc.
|
inline |
|
inline |
void dart::Isolate::set_current_tag | ( | const UserTag & | tag | ) |
Definition at line 3222 of file isolate.cc.
void dart::Isolate::set_default_tag | ( | const UserTag & | tag | ) |
Definition at line 3229 of file isolate.cc.
|
inline |
|
inline |
|
inline |
void dart::Isolate::set_finalizers | ( | const GrowableObjectArray & | value | ) |
Definition at line 2001 of file isolate.cc.
void dart::Isolate::set_forward_table_new | ( | WeakTable * | table | ) |
Definition at line 2548 of file isolate.cc.
void dart::Isolate::set_forward_table_old | ( | WeakTable * | table | ) |
Definition at line 2552 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 1096 of file isolate.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void dart::Isolate::set_name | ( | const char * | name | ) |
Definition at line 1977 of file isolate.cc.
|
inline |
|
inline |
void dart::Isolate::set_origin_id | ( | Dart_Port | id | ) |
Definition at line 1995 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
void dart::Isolate::set_tag_table | ( | const GrowableObjectArray & | value | ) |
Definition at line 3218 of file isolate.cc.
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inlinestatic |
void dart::Isolate::SetPrefixIsLoaded | ( | const LibraryPrefix & | prefix | ) |
Definition at line 2810 of file isolate.cc.
void dart::Isolate::SetReceivePortKeepAliveState | ( | const ReceivePort & | receive_port, |
bool | keep_isolate_alive | ||
) |
Definition at line 3765 of file isolate.cc.
|
inlinestatic |
|
inline |
|
inlinestatic |
void dart::Isolate::SetStickyError | ( | ErrorPtr | sticky_error | ) |
Definition at line 2404 of file isolate.cc.
|
inlinestatic |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
ErrorPtr dart::Isolate::StealStickyError | ( | ) |
Definition at line 3233 of file isolate.cc.
|
inline |
|
inline |
|
inline |
Definition at line 1125 of file isolate.h.
|
inline |
|
inline |
|
inline |
Definition at line 994 of file isolate.h.
|
inline |
|
inline |
|
inlinestatic |
void dart::Isolate::UpdateNativeCallableKeepIsolateAliveCounter | ( | intptr_t | delta | ) |
Definition at line 3806 of file isolate.cc.
int64_t dart::Isolate::UptimeMicros | ( | ) | const |
Definition at line 1986 of file isolate.cc.
|
inline |
|
inlinestatic |
bool dart::Isolate::VerifyPauseCapability | ( | const Object & | capability | ) | const |
Definition at line 2187 of file isolate.cc.
bool dart::Isolate::VerifyTerminateCapability | ( | const Object & | capability | ) | const |
Definition at line 2192 of file isolate.cc.
|
static |
Definition at line 3531 of file isolate.cc.
|
inline |
void dart::Isolate::WaitForOutstandingSpawns | ( | ) |
Definition at line 3723 of file isolate.cc.
|
friend |
Definition at line 1301 of file dart_api_impl.cc.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |