Home
last modified time | relevance | path

Searched refs:runtime_ (Results 1 – 24 of 24) sorted by relevance

/art/runtime/
Dtwo_runtimes_test.cc33 runtime_->Start(); in TEST_F()
38 runtime_->Start(); in TEST_F()
Dcommon_runtime_test.cc77 runtime_.reset(); in ~CommonRuntimeTestImpl()
144 runtime_.reset(Runtime::Current()); in SetUp()
145 class_linker_ = runtime_->GetClassLinker(); in SetUp()
172 runtime_->RunRootClinits(soa.Self()); in FinalizeSetup()
180 runtime_->GetHeap()->CreateThreadPool(); in FinalizeSetup()
181 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in FinalizeSetup()
183 runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U); in FinalizeSetup()
188 if (runtime_ != nullptr) { in TearDown()
189 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption after the test in TearDown()
Druntime_callbacks_test.cc148 bool started = runtime_->Start(); in TEST_F()
151 runtime_->WaitForThreadPoolWorkersToStart(); in TEST_F()
172 runtime_->GetMainThreadGroup(), in TEST_F()
346 bool started = runtime_->Start(); in TEST_F()
418 bool started = runtime_->Start(); in TEST_F()
428 runtime_.reset(); in TEST_F()
501 bool started = runtime_->Start(); in TEST_F()
Dhidden_api_test.cc43 bool started = runtime_->Start(); in SetUp()
109 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kJustWarn); in TEST_F()
116 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
117 runtime_->SetTargetSdkVersion( in TEST_F()
125 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
126 runtime_->SetTargetSdkVersion( in TEST_F()
134 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
135 runtime_->SetTargetSdkVersion( in TEST_F()
347 soa, jclass_loader_, runtime_->GetClassLinker(), "$Proxy1234", interfaces)); in TEST_F()
Dthread_pool_test.cc204 bool started = runtime_->Start(); in TEST_F()
Dcommon_runtime_test.h128 std::unique_ptr<Runtime> runtime_; variable
Dreflection_test.cc132 bool started = runtime_->Start(); in ReflectionTestMakeInterpreted()
532 bool started = runtime_->Start(); in TEST_F()
Doat_file_assistant_test.cc1242 runtime_->Start(); in TEST_F()
1395 runtime_->Start(); in TEST_F()
1450 runtime_->Start(); in TEST_F()
Dclass_linker_test.cc171 ArtMethod* unimplemented = runtime_->GetImtUnimplementedMethod(); in AssertObjectClass()
/art/compiler/
Dcommon_compiler_test.cc110 runtime_->SetInstructionSet(instruction_set_); in SetUp()
113 if (!runtime_->HasCalleeSaveMethod(type)) { in SetUp()
114 runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(), type); in SetUp()
Dexception_test.cc167 bool started = runtime_->Start(); in TEST_F()
/art/runtime/jni/
Djava_vm_ext.h70 return runtime_; in GetRuntime()
226 Runtime* const runtime_; variable
Djava_vm_ext.cc484 : runtime_(runtime), in JavaVMExt()
632 old_allocation_tracking_state_ = runtime_->GetHeap()->IsAllocTrackingEnabled(); in CheckGlobalRefAllocationTracking()
731 runtime_->GetThreadList()->ForEach(ThreadEnableCheckJni, &check_jni_); in SetCheckJniEnabled()
1007 runtime_->GetTargetSdkVersion(), in LoadNativeLibrary()
1075 if (IsSdkVersionSetAndAtMost(runtime_->GetTargetSdkVersion(), SdkVersion::kL)) { in LoadNativeLibrary()
Djni_internal_test.cc619 if (!runtime_->IsStarted()) { in SetUpForTest()
635 bool started = runtime_->Start(); in SetUpForTest()
1857 bool started = runtime_->Start(); \
1905 bool started = runtime_->Start(); in TEST_F()
1928 runtime_->Start(); \
2277 bool started = runtime_->Start(); in TEST_F()
/art/dex2oat/
Ddex2oat.cc554 runtime_ = runtime; in SetRuntime()
631 Runtime* runtime = runtime_; in GetRuntime()
637 static Runtime* runtime_; member in art::WatchDog
650 Runtime* WatchDog::runtime_ = nullptr; member in art::WatchDog
659 runtime_(nullptr), in Dex2Oat()
712 runtime_.release(); // NOLINT in ~Dex2Oat()
1550 if (!class_loader_context_->OpenDexFiles(runtime_->GetInstructionSet(), in Setup()
1714 runtime_->GetHeap()->CollectGarbage(/* clear_soft_references */ true); in CompileDexFilesIndividually()
1718 << runtime_->GetHeap()->GetVerification()->FirstPathFromRootSet(decoded_weak); in CompileDexFilesIndividually()
2555 runtime_.reset(Runtime::Current()); in CreateRuntime()
[all …]
/art/openjdkjvmti/
Dti_redefine.h209 art::Runtime* runtime_; variable
222 runtime_(runtime), in Redefiner()
Dti_redefine.cc528 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); in CreateNewDexCache()
547 loader.IsNull() ? driver_->runtime_->GetLinearAlloc() in CreateNewDexCache()
616 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in FindAndAllocateObsoleteMethods()
1393 RedefinitionDataHolder holder(&hs, runtime_, self_, &redefinitions_); in Run()
1415 art::ClassLinker* cl = runtime_->GetClassLinker(); in Run()
1425 ScopedDisableConcurrentAndMovingGc sdcamgc(runtime_->GetHeap(), self_); in Run()
1456 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in UpdateMethods()
1542 art::jit::Jit* jit = driver_->runtime_->GetJit(); in UpdateClass()
1545 driver_->runtime_->GetClassLinker()->GetImagePointerSize(); in UpdateClass()
Devents.cc1109 : runtime_(runtime) {} in HandleLocalAccessCapabilityAdded()
1123 } else if (!runtime_->GetClassLinker()->IsQuickToInterpreterBridge(code) && in HandleLocalAccessCapabilityAdded()
1124 !runtime_->IsAsyncDeoptimizeable(reinterpret_cast<uintptr_t>(code))) { in HandleLocalAccessCapabilityAdded()
1125 runtime_->GetInstrumentation()->UpdateMethodsCodeToInterpreterEntryPoint(&m); in HandleLocalAccessCapabilityAdded()
1132 art::Runtime* runtime_; in HandleLocalAccessCapabilityAdded() member in openjdkjvmti::EventHandler::HandleLocalAccessCapabilityAdded::UpdateEntryPointsClassVisitor
/art/dex2oat/linker/
Dimage_test.h437 runtime_.reset(); in TestWriteRead()
456 runtime_.reset(Runtime::Current()); in TestWriteRead()
461 ASSERT_TRUE(runtime_.get() != nullptr); in TestWriteRead()
462 class_linker_ = runtime_->GetClassLinker(); in TestWriteRead()
Dimage_test.cc43 runtime_.reset(); in TEST_F()
/art/runtime/arch/
Dstub_test.cc48 runtime_->SetInstructionSet(kRuntimeISA); in SetUp()
51 if (!runtime_->HasCalleeSaveMethod(type)) { in SetUp()
52 runtime_->SetCalleeSaveMethod(runtime_->CreateCalleeSaveMethod(), type); in SetUp()
1787 bool started = runtime_->Start(); in TEST_F()
1799 bool started = runtime_->Start(); in TEST_F()
1811 bool started = runtime_->Start(); in TEST_F()
1822 bool started = runtime_->Start(); in TEST_F()
1833 bool started = runtime_->Start(); in TEST_F()
/art/runtime/mirror/
Ddex_cache_test.cc89 EXPECT_NE(linear_alloc, runtime_->GetLinearAlloc()); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver_test.cc58 bool started = runtime_->Start(); in EnsureCompiled()
/art/compiler/jni/
Djni_compiler_test.cc288 if (!runtime_->IsStarted()) { in SetUpForTest()
297 bool started = runtime_->Start(); in SetUpForTest()
1131 ASSERT_FALSE(runtime_->IsStarted()); in ExceptionHandlingImpl()
1142 bool started = runtime_->Start(); in ExceptionHandlingImpl()