Home
last modified time | relevance | path

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

/art/runtime/
Dtwo_runtimes_test.cc33 runtime_->Start(); in TEST_F()
38 runtime_->Start(); in TEST_F()
Dhidden_api_test.cc48 bool started = runtime_->Start(); in SetUp()
84 std::set<uint64_t> disabled_changes = runtime_->GetDisabledCompatChanges(); in setChangeIdState()
90 runtime_->SetDisabledCompatChanges(disabled_changes); in setChangeIdState()
124 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kJustWarn); in TEST_F()
132 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
133 runtime_->SetTargetSdkVersion( in TEST_F()
144 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
145 runtime_->SetTargetSdkVersion( in TEST_F()
163 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
164 runtime_->SetTargetSdkVersion( in TEST_F()
[all …]
Dcommon_runtime_test.cc80 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()
Druntime_test.cc69 runtime_->Start(); in TEST_F()
Dthread_pool_test.cc204 bool started = runtime_->Start(); in TEST_F()
Dcommon_runtime_test.h181 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.cc1269 runtime_->Start(); in TEST_F()
1443 runtime_->Start(); in TEST_F()
1498 runtime_->Start(); in TEST_F()
Dclass_linker_test.cc172 ArtMethod* unimplemented = runtime_->GetImtUnimplementedMethod(); in AssertObjectClass()
/art/dex2oat/linker/
Dimage_write_read_test.cc61 runtime_.reset(); in TestWriteRead()
80 runtime_.reset(Runtime::Current()); in TestWriteRead()
85 ASSERT_TRUE(runtime_.get() != nullptr); in TestWriteRead()
86 class_linker_ = runtime_->GetClassLinker(); in TestWriteRead()
Dimage_test.cc43 runtime_.reset(); in TEST_F()
/art/compiler/
Dcommon_compiler_test.cc112 runtime_->SetInstructionSet(instruction_set_); in SetUp()
115 if (!runtime_->HasCalleeSaveMethod(type)) { in SetUp()
116 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.cc491 : runtime_(runtime), in JavaVMExt()
639 old_allocation_tracking_state_ = runtime_->GetHeap()->IsAllocTrackingEnabled(); in CheckGlobalRefAllocationTracking()
738 runtime_->GetThreadList()->ForEach(ThreadEnableCheckJni, &check_jni_); in SetCheckJniEnabled()
1014 runtime_->GetTargetSdkVersion(), in LoadNativeLibrary()
1082 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.cc609 runtime_ = runtime; in SetRuntime()
686 Runtime* runtime = runtime_; in GetRuntime()
692 static Runtime* runtime_; member in art::WatchDog
705 Runtime* WatchDog::runtime_ = nullptr; member in art::WatchDog
784 runtime_(nullptr), in Dex2Oat()
839 runtime_.release(); // NOLINT in ~Dex2Oat()
1761 ArrayRef<const DexFile* const> bcp_dex_files(runtime_->GetClassLinker()->GetBootClassPath()); in Setup()
1776 for (const std::string& bcp_location : runtime_->GetBootClassPathLocations()) { in Setup()
1874 if (!class_loader_context_->OpenDexFiles(runtime_->GetInstructionSet(), in Setup()
1982 runtime_->GetHeap()->CollectGarbage(/* clear_soft_references */ true); in CompileDexFilesIndividually()
[all …]
/art/openjdkjvmti/
Dti_redefine.cc746 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); in CreateNewDexCache()
765 loader.IsNull() ? driver_->runtime_->GetLinearAlloc() in CreateNewDexCache()
835 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in FindAndAllocateObsoleteMethods()
1720 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in CollectAndCreateNewInstances()
1741 driver_->runtime_->GetClassLinker()))); in CollectAndCreateNewInstances()
1793 driver_->self_, driver_->runtime_->GetHeap()->GetCurrentAllocator())); in CollectAndCreateNewInstances()
1888 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in FinishNewClassAllocations()
1913 driver_->runtime_->GetClassLinker()))); in FinishNewClassAllocations()
2053 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in AllocateNewClassObject()
2375 : self_(self), runtime_(runtime), pauser_() { in ScopedSuspendClassLoading()
[all …]
Dti_redefine.h303 art::Runtime* runtime_; variable
318 runtime_(runtime), in Redefiner()
Devents.cc1255 : runtime_(runtime) {} in HandleLocalAccessCapabilityAdded()
1269 } else if (!runtime_->GetClassLinker()->IsQuickToInterpreterBridge(code) && in HandleLocalAccessCapabilityAdded()
1270 !runtime_->IsAsyncDeoptimizeable(reinterpret_cast<uintptr_t>(code))) { in HandleLocalAccessCapabilityAdded()
1271 runtime_->GetInstrumentation()->UpdateMethodsCodeToInterpreterEntryPoint(&m); in HandleLocalAccessCapabilityAdded()
1278 art::Runtime* runtime_; in HandleLocalAccessCapabilityAdded() member in openjdkjvmti::EventHandler::HandleLocalAccessCapabilityAdded::UpdateEntryPointsClassVisitor
/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()
1648 bool started = runtime_->Start(); in TEST_F()
1660 bool started = runtime_->Start(); in TEST_F()
1672 bool started = runtime_->Start(); in TEST_F()
1683 bool started = runtime_->Start(); in TEST_F()
1694 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.cc293 if (!runtime_->IsStarted()) { in SetUpForTest()
302 bool started = runtime_->Start(); in SetUpForTest()
1131 ASSERT_FALSE(runtime_->IsStarted()); in ExceptionHandlingImpl()
1142 bool started = runtime_->Start(); in ExceptionHandlingImpl()