Home
last modified time | relevance | path

Searched refs:Runtime (Results 51 – 75 of 386) sorted by relevance

12345678910>>...16

/art/runtime/verifier/
Dreg_type_test.cc38 ArenaStack stack(Runtime::Current()->GetArenaPool()); in TEST_F()
41 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F()
62 ArenaStack stack(Runtime::Current()->GetArenaPool()); in TEST_F()
65 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F()
88 ArenaStack stack(Runtime::Current()->GetArenaPool()); in TEST_F()
91 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F()
363 ArenaStack stack(Runtime::Current()->GetArenaPool()); in TEST_F()
366 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F()
380 ArenaStack stack(Runtime::Current()->GetArenaPool()); in TEST_F()
383 RegTypeCache cache(Runtime::Current()->GetClassLinker(), true, allocator); in TEST_F()
[all …]
/art/adbconnection/
Dadbconnection.cc99 if (IsDebuggingPossible() || art::Runtime::Current()->IsProfileableFromShell()) { in StartDebugger()
125 return IsDebuggingPossible() && !art::Runtime::Current()->GetJdwpOptions().empty(); in IsDebuggerConfigured()
169 art::Runtime::Current()->GetRuntimeCallbacks()->AddDebuggerControlCallback(&controller_); in AdbConnectionState()
177 art::Runtime::Current()->GetRuntimeCallbacks()->RemoveDebuggerControlCallback(&controller_); in ~AdbConnectionState()
224 art::Runtime::Current()->EndThreadBirth(); in CallbackFunction()
227 int detach_result = art::Runtime::Current()->GetJavaVM()->DetachCurrentThread(); in CallbackFunction()
247 art::Runtime::Current()->GetRuntimeCallbacks()->AddDdmCallback(&ddm_callback_); in StartDebuggerThreads()
266 art::Runtime* runtime = art::Runtime::Current(); in StartDebuggerThreads()
289 art::Runtime* runtime = art::Runtime::Current(); in StartDebuggerThreads()
482 const char* isa = GetInstructionSetString(art::Runtime::Current()->GetInstructionSet()); in SetupAdbConnection()
[all …]
/art/test/149-suspend-all-stress/
Dsuspend_all.cc45 Runtime::Current()->GetThreadList()->Dump(LOG_STREAM(INFO)); in Java_Main_suspendAndResume()
53 Runtime::Current()->GetThreadList()->Dump(LOG_STREAM(INFO)); in Java_Main_suspendAndResume()
/art/test/708-jit-cache-churn/
Djit.cc36 if (!Runtime::Current()->UseJitCompilation()) { in Java_JitCacheChurnTest_removeJitCompiledMethod()
40 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_JitCacheChurnTest_removeJitCompiledMethod()
/art/runtime/mirror/
Ddex_cache-inl.h109 Runtime* const runtime = Runtime::Current(); in SetResolvedString()
122 Runtime* const runtime = Runtime::Current(); in SetPreResolvedString()
141 DCHECK(Runtime::Current()->IsAotCompiler()); in ClearString()
179 DCHECK(Runtime::Current()->IsAotCompiler()); in ClearResolvedType()
190 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in MethodTypeSlotIndex()
211 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in GetResolvedCallSite()
221 DCHECK(Runtime::Current()->IsMethodHandlesEnabled()); in SetResolvedCallSite()
248 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in GetResolvedField()
254 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in SetResolvedField()
261 DCHECK_EQ(Runtime::Current()->GetClassLinker()->GetImagePointerSize(), ptr_size); in ClearResolvedField()
[all …]
Dobject-inl.h396 Runtime::Current()->RecordWriteFieldBoolean( in SetFieldBoolean()
413 Runtime::Current()->RecordWriteFieldByte(this, in SetFieldByte()
463 Runtime::Current()->RecordWriteFieldChar(this, in SetFieldChar()
479 Runtime::Current()->RecordWriteFieldChar(this, in SetFieldShort()
507 Runtime::Current()->RecordWriteField32(this, in SetField32()
523 if (Runtime::Current()->IsActiveTransaction()) { in SetField32Transaction()
537 Runtime::Current()->RecordWriteField64(this, in SetField64()
554 if (Runtime::Current()->IsActiveTransaction()) { in SetField64Transaction()
574 Runtime::Current()->RecordWriteField64(this, field_offset, old_value, true); in CasFieldWeakSequentiallyConsistent64()
588 Runtime::Current()->RecordWriteField64(this, field_offset, old_value, true); in CasFieldStrongSequentiallyConsistent64()
[all …]
/art/test/566-polymorphic-inlining/
Dpolymorphic_inline.cc32 jit::Jit* jit = Runtime::Current()->GetJit(); in do_checks()
64 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureProfilingInfo566()
75 jit::Jit* jit = Runtime::Current()->GetJit(); in Java_Main_ensureJittedAndPolymorphicInline566()
/art/test/617-clinit-oome/src/
DMain.java19 Runtime.getRuntime().gc(); in exhaustJavaHeap()
39 Runtime.getRuntime().gc(); in main()
/art/runtime/native/
Ddalvik_system_VMDebug.cc78 Runtime::Current()->SetStatsEnabled(true); in VMDebug_startAllocCounting()
82 Runtime::Current()->SetStatsEnabled(false); in VMDebug_stopAllocCounting()
86 return static_cast<jint>(Runtime::Current()->GetStat(kind)); in VMDebug_getAllocCount()
90 Runtime::Current()->ResetStats(kinds); in VMDebug_resetAllocCount()
172 return Runtime::Current()->GetRuntimeCallbacks()->IsDebuggerConfigured(); in VMDebug_isDebuggingEnabled()
218 return Runtime::Current()->GetClassLinker()->VisitClasses(&visitor); in VMDebug_printLoadedClasses()
223 return Runtime::Current()->GetClassLinker()->NumLoadedClasses(); in VMDebug_getLoadedClassCount()
291 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClass()
309 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_countInstancesOfClasses()
359 gc::Heap* const heap = Runtime::Current()->GetHeap(); in VMDebug_getInstancesOfClasses()
[all …]
Djava_lang_ref_Reference.cc35 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in Reference_getReferent()
42 Runtime::Current()->GetHeap()->GetReferenceProcessor()->ClearReferent(ref); in Reference_clearReferent()
Djava_lang_ref_FinalizerReference.cc34 return Runtime::Current()->GetHeap()->GetReferenceProcessor()->MakeCircularListIfUnenqueued(ref); in FinalizerReference_makeCircularListIfUnenqueued()
41 Runtime::Current()->GetHeap()->GetReferenceProcessor()->GetReferent(soa.Self(), ref); in FinalizerReference_getReferent()
/art/runtime/
Druntime_test.cc42 Runtime::Abort("Attempt to abort"); in TEST_F()
56 Runtime::Abort("Attempt to abort"); in TEST_F()
Druntime_callbacks_test.cc93 Runtime* runtime = Runtime::Current(); in PthreadsCallback()
105 Runtime::Current()->GetRuntimeCallbacks()->AddThreadLifecycleCallback(&cb_); in AddListener()
108 Runtime::Current()->GetRuntimeCallbacks()->RemoveThreadLifecycleCallback(&cb_); in RemoveListener()
224 Runtime::Current()->GetRuntimeCallbacks()->AddClassLoadCallback(&cb_); in AddListener()
227 Runtime::Current()->GetRuntimeCallbacks()->RemoveClassLoadCallback(&cb_); in RemoveListener()
324 Runtime::Current()->GetRuntimeCallbacks()->AddRuntimeSigQuitCallback(&cb_); in AddListener()
327 Runtime::Current()->GetRuntimeCallbacks()->RemoveRuntimeSigQuitCallback(&cb_); in RemoveListener()
367 Runtime::Current()->GetRuntimeCallbacks()->AddRuntimePhaseCallback(&cb_); in AddListener()
370 Runtime::Current()->GetRuntimeCallbacks()->RemoveRuntimePhaseCallback(&cb_); in RemoveListener()
439 Runtime::Current()->GetRuntimeCallbacks()->AddMonitorCallback(&cb_); in AddListener()
[all …]
Dart_method.cc88 DCHECK_EQ(kRuntimePointerSize, Runtime::Current()->GetClassLinker()->GetImagePointerSize()); in GetNonObsoleteMethod()
113 DCHECK(!Runtime::Current()->IsAotCompiler()) << PrettyMethod(); in GetObsoleteDexCache()
122 DCHECK_EQ(pointer_size, Runtime::Current()->GetClassLinker()->GetImagePointerSize()); in GetObsoleteDexCache()
141 DCHECK(!Runtime::Current()->IsAotCompiler()) << PrettyMethod(); in FindObsoleteDexClassDefIndex()
329 Runtime* runtime = Runtime::Current(); in Invoke()
406 Runtime::Current()->GetClassLinker()->GetClassRoots(); in IsPolymorphicSignature()
522 auto* cl = Runtime::Current()->GetClassLinker(); in EqualParameters()
573 Runtime* runtime = Runtime::Current(); in GetOatQuickMethodHeader()
673 Runtime* runtime = Runtime::Current(); in HasAnyCompiledCode()
757 Runtime* runtime = Runtime::Current(); in CopyFrom()
[all …]
Dinstrumentation.cc109 instrumentation_(Runtime::Current()->GetInstrumentation()), in InstrumentationStackPopper()
212 jit::Jit* jit = Runtime::Current()->GetJit(); in UpdateEntrypoints()
225 art::Runtime* runtime = Runtime::Current(); in NeedDebugVersionFor()
254 Runtime* const runtime = Runtime::Current(); in InstallStubsForMethod()
499 CHECK(m == Runtime::Current()->GetCalleeSaveMethod(CalleeSaveType::kSaveRefsAndArgs)); in InstrumentationRestoreStack()
550 ThreadList* tl = Runtime::Current()->GetThreadList(); in DeoptimizeAllThreadFrames()
580 Runtime::DoAndMaybeSwitchInterpreter([=](){ *has_listener = true; }); in PotentiallyAddListenerTo()
658 Runtime::DoAndMaybeSwitchInterpreter([=](){ *has_listener = true; }); in PotentiallyRemoveListenerFrom()
662 Runtime::DoAndMaybeSwitchInterpreter([=](){ *has_listener = false; }); in PotentiallyRemoveListenerFrom()
789 Runtime* runtime = Runtime::Current(); in UpdateStubs()
[all …]
Dintern_table.cc128 Runtime* runtime = Runtime::Current(); in InsertStrong()
140 Runtime* runtime = Runtime::Current(); in InsertWeak()
153 Runtime* runtime = Runtime::Current(); in RemoveWeak()
162 DCHECK(!Runtime::Current()->IsActiveTransaction()); in InsertStrongFromTransaction()
167 DCHECK(!Runtime::Current()->IsActiveTransaction()); in InsertWeakFromTransaction()
172 DCHECK(!Runtime::Current()->IsActiveTransaction()); in RemoveStrongFromTransaction()
177 DCHECK(!Runtime::Current()->IsActiveTransaction()); in RemoveWeakFromTransaction()
477 Runtime* const runtime = Runtime::Current(); in Table()
Dart_field-inl.h74 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32()
84 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32()
94 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get64()
104 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set64()
115 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in GetObj()
125 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in SetObj()
136 DCHECK(!IsStatic() || ((object) == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); \
144 DCHECK(!IsStatic() || ((object) == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); \
325 ObjPtr<mirror::Class> type = Runtime::Current()->GetClassLinker()->LookupResolvedType( in LookupResolvedType()
335 ObjPtr<mirror::Class> type = Runtime::Current()->GetClassLinker()->ResolveType( in ResolveType()
[all …]
/art/test/064-field-access/src/
DOOMEOnNullAccess.java40 Runtime.getRuntime().gc(); in exhaustJavaHeap()
58 Runtime.getRuntime().gc(); in main()
/art/cmdline/
Dcmdline.h89 static Runtime* StartRuntime(const char* boot_image_location, in StartRuntime()
123 if (!Runtime::Create(options, false)) { in StartRuntime()
132 return Runtime::Current(); in StartRuntime()
339 InitLogging(argv, Runtime::Abort); in Main()
350 std::unique_ptr<Runtime> runtime; in Main()
387 virtual bool ExecuteWithRuntime(Runtime* runtime) { in ExecuteWithRuntime()
414 Runtime* CreateRuntime(CmdlineArgs* args) { in CreateRuntime()
/art/openjdkjvmti/
Dti_jni.cc66 art::Runtime* runtime = art::Runtime::Current(); in GetJNIFunctionTable()
/art/runtime/jit/
Dprofile_saver.cc139 while (!Runtime::Current()->GetStartupCompleted()) { in Run()
150 Runtime::Current()->NotifyStartupCompleted(); in Run()
331 ClassLinker* const class_linker = Runtime::Current()->GetClassLinker(); in SampleClassesAndExecutedMethods()
414 Runtime* const runtime = Runtime::Current(); in FetchAndCacheResolvedClassesAndMethods()
420 const bool is_low_ram = Runtime::Current()->GetHeap()->IsLowMemoryMode(); in FetchAndCacheResolvedClassesAndMethods()
429 } else if (Runtime::Current()->GetJit() != nullptr) { in FetchAndCacheResolvedClassesAndMethods()
430 hot_method_sample_threshold = Runtime::Current()->GetJit()->WarmMethodThreshold(); in FetchAndCacheResolvedClassesAndMethods()
449 Runtime::Current()->GetArenaPool(), options_.GetProfileBootClassPath())); in FetchAndCacheResolvedClassesAndMethods()
556 ProfileCompilationInfo info(Runtime::Current()->GetArenaPool()); in ProcessProfilingInfo()
653 Runtime::Current()->GetArenaPool()->TrimMaps(); in ProcessProfilingInfo()
[all …]
/art/test/1907-suspend-list-self-twice/src/art/
DTest1907.java51 Runtime.getRuntime().halt(2); in run()
78 Runtime.getRuntime().halt(2); in run()
/art/test/1906-suspend-list-me-first/src/art/
DTest1906.java56 Runtime.getRuntime().halt(2); in run()
85 Runtime.getRuntime().halt(2); in run()
/art/test/1904-double-suspend/src/art/
DTest1904.java100 Runtime.getRuntime().halt(1); in run()
105 Runtime.getRuntime().halt(2); in run()
/art/test/2007-virtual-structural-finalizable/src-art/art/
DTest2007.java94 Runtime.getRuntime().gc(); in run()
111 Runtime.getRuntime().gc(); in doTest()

12345678910>>...16