Home | History | Annotate | Download | only in gc

Lines Matching refs:runtime

90 #include "runtime.h"
171 return Runtime::Current()->InJankPerceptibleProcessState();
286 is_running_on_memory_tool_(Runtime::Current()->IsRunningOnMemoryTool()),
324 Runtime* const runtime = Runtime::Current();
327 const bool is_zygote = runtime->IsZygote();
377 runtime->ShouldRelocate(),
378 /*executable=*/ !runtime->IsAotCompiler(),
400 if (foreground_collector_type_ == kCollectorTypeMS && Runtime::Current()->IsAotCompiler()) {
711 instrumentation::Instrumentation* const instrumentation = runtime->GetInstrumentation();
796 if (kCompactZygote && Runtime::Current()->IsZygote() && !can_move_objects) {
823 Runtime::Current()->GetInstrumentation()->ResetQuickAllocEntryPoints();
856 if (!Runtime::Current()->IsAotCompiler()) {
1359 Runtime::Current()->GetPreAllocatedOutOfMemoryErrorWhenHandlingStackOverflow());
1417 Runtime* const runtime = Runtime::Current();
1426 size_t count = runtime->GetMonitorList()->DeflateMonitors();
1433 runtime->GetArenaPool()->TrimMaps();
1461 size_t barrier_count = Runtime::Current()->GetThreadList()->RunCheckpoint(&closure);
1676 if (Runtime::Current()->HasStatsEnabled()) {
1681 RuntimeStats* global_stats = Runtime::Current()->GetStats();
1716 Runtime::Current()->GetInstrumentation();
2065 if (Runtime::Current()->IsShuttingDown(self)) {
2066 // Don't allow heap transitions to happen if the runtime is shutting down since these can
2125 Runtime* const runtime = Runtime::Current();
2159 if (runtime->IsShuttingDown(self)) {
2160 // Don't allow heap transitions to happen if the runtime is shutting down since these can
2451 Runtime::Current()->GetInternTable()->AddNewTable();
2452 Runtime::Current()->GetClassLinker()->MoveClassTableToPreZygote();
2691 Runtime* runtime = Runtime::Current();
2733 if (gc_cause == kGcCauseForAlloc && runtime->HasStatsEnabled()) {
2734 ++runtime->GetStats()->gc_for_alloc_count;
2790 collector->Run(gc_cause, clear_soft_references || runtime->IsZygote());
2821 // Print the GC if it is an explicit GC (e.g. Runtime.gc()) or a slow GC
3079 Runtime::Current()->VisitRoots(&visitor1);
3082 Runtime::Current()->VisitRoots(&visitor2);
3110 Runtime::Current()->VisitRoots(&visitor);
3326 std::list<Thread*> thread_list = Runtime::Current()->GetThreadList()->GetList();
3461 // TODO: Add a new runtime option for this?
3795 gc::Heap* heap = Runtime::Current()->GetHeap();
3806 Runtime* runtime = Runtime::Current();
3807 return runtime != nullptr && runtime->IsFinishedStarting() && !runtime->IsShuttingDown(self) &&
3825 if (!Runtime::Current()->IsShuttingDown(self)) {
3853 gc::Heap* heap = Runtime::Current()->GetHeap();
3895 gc::Heap* heap = Runtime::Current()->GetHeap();
4209 auto* const runtime = Runtime::Current();
4210 if (runtime->GetClassLinker()->IsInitialized() && !runtime->IsActiveTransaction()) {
4237 CHECK(Runtime::Current()->IsShuttingDown(self));
4293 Runtime::Current()->GetInstrumentation()->InstrumentQuickAllocEntryPoints();
4301 Runtime::Current()->GetInstrumentation()->UninstrumentQuickAllocEntryPoints();
4410 gc::Heap* heap = Runtime::Current()->GetHeap();