Flutter Engine
The Flutter Engine
|
#include <isolate.h>
Static Public Member Functions | |
static intptr_t | class_table_offset () |
static intptr_t | cached_class_table_table_offset () |
static intptr_t | object_store_offset () |
static void | FlagsInitialize (Dart_IsolateFlags *api_flags) |
static IsolateGroup * | Current () |
static void | Init () |
static void | Cleanup () |
static void | ForEach (std::function< void(IsolateGroup *)> action) |
static void | RunWithIsolateGroup (uint64_t id, std::function< void(IsolateGroup *)> action, std::function< void()> not_found) |
static void | RegisterIsolateGroup (IsolateGroup *isolate_group) |
static void | UnregisterIsolateGroup (IsolateGroup *isolate_group) |
static bool | HasApplicationIsolateGroups () |
static bool | HasOnlyVMIsolateGroup () |
static bool | IsSystemIsolateGroup (const IsolateGroup *group) |
static void | ExitTemporaryIsolate () |
Friends | |
class | Dart |
class | Heap |
class | StackFrame |
class | Isolate |
dart::IsolateGroup::IsolateGroup | ( | std::shared_ptr< IsolateGroupSource > | source, |
void * | embedder_data, | ||
ObjectStore * | object_store, | ||
Dart_IsolateFlags | api_flags, | ||
bool | is_vm_isolate | ||
) |
Definition at line 325 of file isolate.cc.
dart::IsolateGroup::IsolateGroup | ( | std::shared_ptr< IsolateGroupSource > | source, |
void * | embedder_data, | ||
Dart_IsolateFlags | api_flags, | ||
bool | is_vm_isolate | ||
) |
Definition at line 412 of file isolate.cc.
dart::IsolateGroup::~IsolateGroup | ( | ) |
Definition at line 426 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
ObjectPtr dart::IsolateGroup::CallTagHandler | ( | Dart_LibraryTag | tag, |
const Object & | arg1, | ||
const Object & | arg2 | ||
) |
Definition at line 1925 of file isolate.cc.
bool dart::IsolateGroup::CanReload | ( | ) |
Definition at line 2042 of file isolate.cc.
|
inline |
|
inline |
|
inlinestatic |
|
static |
Definition at line 742 of file isolate.cc.
void dart::IsolateGroup::CloneClassTableForReload | ( | ) |
Definition at line 3817 of file isolate.cc.
|
inline |
bool dart::IsolateGroup::ContainsOnlyOneIsolate | ( | ) |
Definition at line 458 of file isolate.cc.
void dart::IsolateGroup::CreateHeap | ( | bool | is_vm_isolate, |
bool | is_service_or_kernel_isolate | ||
) |
Definition at line 482 of file isolate.cc.
|
inlinestatic |
Definition at line 539 of file isolate.h.
|
inline |
void dart::IsolateGroup::DecreaseMutatorCount | ( | Isolate * | mutator, |
bool | is_nested_exit | ||
) |
Definition at line 618 of file isolate.cc.
|
inline |
|
inline |
void dart::IsolateGroup::DeferredMarkLiveTemporaries | ( | ) |
Definition at line 3002 of file isolate.cc.
void dart::IsolateGroup::DeleteReloadContext | ( | ) |
Definition at line 2131 of file isolate.cc.
void dart::IsolateGroup::DisableIncrementalBarrier | ( | ) |
Definition at line 2831 of file isolate.cc.
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::DropOriginalClassTable | ( | ) |
Definition at line 3830 of file isolate.cc.
|
inline |
void dart::IsolateGroup::EnableIncrementalBarrier | ( | MarkingStack * | old_marking_stack, |
MarkingStack * | new_marking_stack, | ||
MarkingStack * | deferred_marking_stack | ||
) |
Definition at line 2817 of file isolate.cc.
Isolate * dart::IsolateGroup::EnterTemporaryIsolate | ( | ) |
Definition at line 871 of file isolate.cc.
|
static |
Definition at line 880 of file isolate.cc.
Isolate * dart::IsolateGroup::FirstIsolate | ( | ) | const |
Definition at line 2869 of file isolate.cc.
Isolate * dart::IsolateGroup::FirstIsolateLocked | ( | ) | const |
Definition at line 2874 of file isolate.cc.
void dart::IsolateGroup::FlagsCopyFrom | ( | const Dart_IsolateFlags & | api_flags | ) |
Definition at line 1622 of file isolate.cc.
void dart::IsolateGroup::FlagsCopyTo | ( | Dart_IsolateFlags * | api_flags | ) |
Definition at line 1611 of file isolate.cc.
|
static |
Definition at line 1600 of file isolate.cc.
void dart::IsolateGroup::FlushMarkingStacks | ( | ) |
Definition at line 2780 of file isolate.cc.
|
static |
Definition at line 683 of file isolate.cc.
void dart::IsolateGroup::ForEachIsolate | ( | std::function< void(Isolate *isolate)> | function, |
bool | at_safepoint = false |
||
) |
Definition at line 2841 of file isolate.cc.
void dart::IsolateGroup::FreeStaticField | ( | const Field & | field | ) |
Definition at line 848 of file isolate.cc.
|
inline |
|
static |
Definition at line 714 of file isolate.cc.
|
inline |
|
static |
Definition at line 724 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::IncreaseMutatorCount | ( | Isolate * | mutator, |
bool | is_nested_reenter | ||
) |
Definition at line 590 of file isolate.cc.
|
static |
Definition at line 734 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
dart::IsolateGroup::ISOLATE_GROUP_METRIC_LIST | ( | ISOLATE_METRIC_ACCESSOR | ) |
|
inline |
|
static |
Definition at line 3605 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::MaybeIncreaseReloadEveryNStackOverflowChecks | ( | ) |
Definition at line 2532 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
Definition at line 306 of file isolate.h.
|
inline |
void dart::IsolateGroup::PrintJSON | ( | JSONStream * | stream, |
bool | ref = true |
||
) |
Definition at line 643 of file isolate.cc.
void dart::IsolateGroup::PrintMemoryUsageJSON | ( | JSONStream * | stream | ) |
Definition at line 668 of file isolate.cc.
void dart::IsolateGroup::PrintToJSONObject | ( | JSONObject * | jsobj, |
bool | ref | ||
) |
Definition at line 648 of file isolate.cc.
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::RegisterClass | ( | const Class & | cls | ) |
Definition at line 769 of file isolate.cc.
void dart::IsolateGroup::RegisterIsolate | ( | Isolate * | isolate | ) |
Definition at line 451 of file isolate.cc.
|
static |
Definition at line 704 of file isolate.cc.
void dart::IsolateGroup::RegisterSharedStaticField | ( | const Field & | field, |
const Object & | initial_value | ||
) |
Definition at line 789 of file isolate.cc.
Definition at line 811 of file isolate.cc.
void dart::IsolateGroup::RehashConstants | ( | Become * | become | ) |
Definition at line 887 of file isolate.cc.
void dart::IsolateGroup::ReleaseStoreBuffers | ( | ) |
Definition at line 2776 of file isolate.cc.
|
inline |
|
inline |
bool dart::IsolateGroup::ReloadKernel | ( | JSONStream * | js, |
bool | force_reload, | ||
const uint8_t * | kernel_buffer = nullptr , |
||
intptr_t | kernel_buffer_size = 0 , |
||
bool | dont_delete_reload_context = false |
||
) |
Definition at line 2102 of file isolate.cc.
bool dart::IsolateGroup::ReloadSources | ( | JSONStream * | js, |
bool | force_reload, | ||
const char * | root_script_url = nullptr , |
||
const char * | packages_url = nullptr , |
||
bool | dont_delete_reload_context = false |
||
) |
Definition at line 2073 of file isolate.cc.
|
inline |
void dart::IsolateGroup::RememberLiveTemporaries | ( | ) |
Definition at line 3008 of file isolate.cc.
void dart::IsolateGroup::RestoreOriginalClassTable | ( | ) |
Definition at line 3823 of file isolate.cc.
|
static |
Definition at line 690 of file isolate.cc.
void dart::IsolateGroup::RunWithLockedGroup | ( | std::function< void()> | fun | ) |
Definition at line 466 of file isolate.cc.
|
inline |
Definition at line 621 of file isolate.h.
|
inline |
Definition at line 611 of file isolate.h.
void dart::IsolateGroup::RunWithStoppedMutatorsCallable | ( | Callable * | single_current_mutator, |
Callable * | otherwise, | ||
bool | use_force_growth_in_otherwise = false |
||
) |
Definition at line 2878 of file isolate.cc.
|
inline |
|
inline |
void dart::IsolateGroup::ScheduleInterrupts | ( | uword | interrupt_bits | ) |
Definition at line 1960 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 377 of file isolate.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 408 of file isolate.h.
void dart::IsolateGroup::set_object_store | ( | ObjectStore * | object_store | ) |
Definition at line 1072 of file isolate.cc.
|
inline |
void dart::IsolateGroup::set_saved_unlinked_calls | ( | const Array & | saved_unlinked_calls | ) |
Definition at line 586 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::SetupImagePage | ( | const uint8_t * | snapshot_buffer, |
bool | is_executable | ||
) |
Definition at line 1953 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::Shutdown | ( | ) |
Definition at line 498 of file isolate.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void dart::IsolateGroup::UnregisterIsolate | ( | Isolate * | isolate | ) |
Definition at line 471 of file isolate.cc.
bool dart::IsolateGroup::UnregisterIsolateDecrementCount | ( | ) |
Definition at line 476 of file isolate.cc.
|
static |
Definition at line 709 of file isolate.cc.
|
inline |
Definition at line 346 of file isolate.h.
|
inline |
int64_t dart::IsolateGroup::UptimeMicros | ( | ) | const |
Definition at line 1982 of file isolate.cc.
void dart::IsolateGroup::VisitObjectIdRingPointers | ( | ObjectPointerVisitor * | visitor | ) |
Definition at line 2987 of file isolate.cc.
void dart::IsolateGroup::VisitObjectPointers | ( | ObjectPointerVisitor * | visitor, |
ValidationPolicy | validate_frames | ||
) |
Definition at line 2912 of file isolate.cc.
void dart::IsolateGroup::VisitSharedPointers | ( | ObjectPointerVisitor * | visitor | ) |
Definition at line 2921 of file isolate.cc.
void dart::IsolateGroup::VisitStackPointers | ( | ObjectPointerVisitor * | visitor, |
ValidationPolicy | validate_frames | ||
) |
Definition at line 2970 of file isolate.cc.
void dart::IsolateGroup::VisitWeakPersistentHandles | ( | HandleVisitor * | visitor | ) |
Definition at line 2998 of file isolate.cc.
|
friend |