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.cc50 bool started = runtime_->Start(); in SetUp()
86 std::set<uint64_t> disabled_changes = runtime_->GetDisabledCompatChanges(); in setChangeIdState()
92 runtime_->SetDisabledCompatChanges(disabled_changes); in setChangeIdState()
126 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kJustWarn); in TEST_F()
135 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
136 runtime_->SetTargetSdkVersion( in TEST_F()
148 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
149 runtime_->SetTargetSdkVersion( in TEST_F()
168 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
169 runtime_->SetTargetSdkVersion( in TEST_F()
[all …]
Dcommon_runtime_test.cc80 runtime_.reset(); in ~CommonRuntimeTestImpl()
121 runtime_.reset(Runtime::Current()); in SetUp()
122 class_linker_ = runtime_->GetClassLinker(); in SetUp()
149 runtime_->RunRootClinits(soa.Self()); in FinalizeSetup()
157 runtime_->GetHeap()->CreateThreadPool(); in FinalizeSetup()
158 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in FinalizeSetup()
160 runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U); in FinalizeSetup()
165 if (runtime_ != nullptr) { in TearDown()
166 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.h179 std::unique_ptr<Runtime> runtime_; variable
Doat_file_assistant_test.cc1166 runtime_->Start(); in TEST_F()
1341 runtime_->Start(); in TEST_F()
1398 runtime_->Start(); in TEST_F()
1479 runtime_->Start(); in TEST_F()
Dreflection_test.cc132 bool started = runtime_->Start(); in ReflectionTestMakeInterpreted()
532 bool started = 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.cc123 runtime_->SetInstructionSet(instruction_set_); in SetUp()
126 if (!runtime_->HasCalleeSaveMethod(type)) { in SetUp()
127 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.cc493 : runtime_(runtime), in JavaVMExt()
641 old_allocation_tracking_state_ = runtime_->GetHeap()->IsAllocTrackingEnabled(); in CheckGlobalRefAllocationTracking()
740 runtime_->GetThreadList()->ForEach(ThreadEnableCheckJni, &check_jni_); in SetCheckJniEnabled()
1016 runtime_->GetTargetSdkVersion(), in LoadNativeLibrary()
1084 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.cc612 runtime_ = runtime; in SetRuntime()
689 Runtime* runtime = runtime_; in GetRuntime()
695 static Runtime* runtime_; member in art::WatchDog
708 Runtime* WatchDog::runtime_ = nullptr; member in art::WatchDog
796 runtime_(nullptr), in Dex2Oat()
854 runtime_.release(); // NOLINT in ~Dex2Oat()
1777 ArrayRef<const DexFile* const> bcp_dex_files(runtime_->GetClassLinker()->GetBootClassPath()); in Setup()
1792 for (const std::string& bcp_location : runtime_->GetBootClassPathLocations()) { in Setup()
1890 if (!class_loader_context_->OpenDexFiles(runtime_->GetInstructionSet(), in Setup()
2012 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.cc1254 : runtime_(runtime) {} in HandleLocalAccessCapabilityAdded()
1268 } else if (!runtime_->GetClassLinker()->IsQuickToInterpreterBridge(code) && in HandleLocalAccessCapabilityAdded()
1269 !runtime_->IsAsyncDeoptimizeable(reinterpret_cast<uintptr_t>(code))) { in HandleLocalAccessCapabilityAdded()
1270 runtime_->GetInstrumentation()->UpdateMethodsCodeToInterpreterEntryPoint(&m); in HandleLocalAccessCapabilityAdded()
1277 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()
1137 ASSERT_FALSE(runtime_->IsStarted()); in ExceptionHandlingImpl()
1148 bool started = runtime_->Start(); in ExceptionHandlingImpl()