Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros | Functions | Variables
isolate_reload.cc File Reference
#include "vm/isolate_reload.h"
#include <memory>
#include "vm/bit_vector.h"
#include "vm/compiler/jit/compiler.h"
#include "vm/dart_api_impl.h"
#include "vm/hash.h"
#include "vm/hash_table.h"
#include "vm/heap/become.h"
#include "vm/heap/safepoint.h"
#include "vm/isolate.h"
#include "vm/kernel_isolate.h"
#include "vm/kernel_loader.h"
#include "vm/log.h"
#include "vm/longjump.h"
#include "vm/object.h"
#include "vm/object_store.h"
#include "vm/parser.h"
#include "vm/runtime_entry.h"
#include "vm/service_event.h"
#include "vm/stack_frame.h"
#include "vm/thread.h"
#include "vm/timeline.h"
#include "vm/type_testing_stubs.h"
#include "vm/visitor.h"

Go to the source code of this file.

Classes

class  dart::ObjectLocator
 
class  dart::ScriptUrlSetTraits
 
class  dart::ClassMapTraits
 
class  dart::LibraryMapTraits
 
class  dart::Aborted
 
class  dart::InvalidationCollector
 
class  dart::FieldInvalidator
 

Namespaces

namespace  dart
 

Macros

#define IG   (isolate_group())
 
#define Z   zone_
 
#define TIMELINE_SCOPE(name)
 

Functions

 dart::DEFINE_FLAG (int, reload_every, 0, "Reload every N stack overflow checks.")
 
 dart::DEFINE_FLAG (bool, trace_reload, false, "Trace isolate reloading")
 
 dart::DEFINE_FLAG (bool, trace_reload_verbose, false, "trace isolate reloading verbose")
 
 dart::DEFINE_FLAG (bool, identity_reload, false, "Enable checks for identity reload.")
 
 dart::DEFINE_FLAG (bool, reload_every_optimized, true, "Only from optimized code.")
 
 dart::DEFINE_FLAG (bool, reload_every_back_off, false, "Double the --reload-every value after each reload.")
 
 dart::DEFINE_FLAG (bool, reload_force_rollback, false, "Force all reloads to fail and rollback.")
 
 dart::DEFINE_FLAG (bool, check_reloaded, false, "Assert that an isolate has reloaded at least once.") DEFINE_FLAG(bool
 
 dart::DECLARE_FLAG (bool, trace_deoptimization)
 
static bool dart::HasNoTasks (Heap *heap)
 
static const char * dart::BoxCidToCString (intptr_t box_cid)
 
static intptr_t dart::CommonSuffixLength (const char *a, const char *b)
 
static ObjectPtr dart::AcceptCompilation (Thread *thread)
 
static ObjectPtr dart::RejectCompilation (Thread *thread)
 
static void dart::PropagateLibraryModified (const ZoneGrowableArray< ZoneGrowableArray< intptr_t > * > *imported_by, intptr_t lib_index, BitVector *modified_libs)
 Copied in from https://dart-review.googlesource.com/c/sdk/+/77722. More...
 
static bool dart::ContainsScriptUri (const GrowableArray< const char * > &seen_uris, const char *uri)
 

Variables

 dart::gc_during_reload
 
 dart::false
 
Cause GC during dart::reload
 

Macro Definition Documentation

◆ IG

#define IG   (isolate_group())

Definition at line 62 of file isolate_reload.cc.

◆ TIMELINE_SCOPE

#define TIMELINE_SCOPE (   name)
Value:
TimelineBeginEndScope tbes##name(Thread::Current(), \
Timeline::GetIsolateStream(), #name)
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 65 of file isolate_reload.cc.

◆ Z

#define Z   zone_

Definition at line 63 of file isolate_reload.cc.