Home
last modified time | relevance | path

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

12

/art/runtime/
Dtwo_runtimes_test.cc33 runtime_->Start(); in TEST_F()
38 runtime_->Start(); in TEST_F()
Dhidden_api_test.cc138 bool started = runtime_->Start(); in SetUp()
174 CompatFramework& compat_framework = runtime_->GetCompatFramework(); in SetChangeIdState()
234 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kJustWarn); in TEST_F()
244 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
245 runtime_->SetTargetSdkVersion( in TEST_F()
258 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
259 runtime_->SetTargetSdkVersion( in TEST_F()
281 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
282 runtime_->SetTargetSdkVersion( in TEST_F()
295 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in TEST_F()
[all …]
Druntime_callbacks_test.cc156 bool started = runtime_->Start(); in TEST_F()
159 runtime_->WaitForThreadPoolWorkersToStart(); in TEST_F()
163 runtime_->RequestMetricsReport(/*synchronous=*/true); in TEST_F()
176 hs.NewHandle(soa.Decode<mirror::Object>(runtime_->GetMainThreadGroup())); in TEST_F()
353 bool started = runtime_->Start(); in TEST_F()
425 bool started = runtime_->Start(); in TEST_F()
435 runtime_.reset(); in TEST_F()
508 bool started = runtime_->Start(); in TEST_F()
Dcommon_runtime_test.cc85 runtime_.reset(); in ~CommonRuntimeTestImpl()
132 runtime_.reset(Runtime::Current()); in SetUp()
133 class_linker_ = runtime_->GetClassLinker(); in SetUp()
164 runtime_->GetClassLinker()->RunEarlyRootClinits(soa.Self()); in FinalizeSetup()
166 runtime_->RunRootClinits(soa.Self()); in FinalizeSetup()
169 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption before the test in FinalizeSetup()
171 runtime_->GetHeap()->SetMinIntervalHomogeneousSpaceCompactionByOom(0U); in FinalizeSetup()
176 if (runtime_ != nullptr) { in TearDown()
177 runtime_->GetHeap()->VerifyHeap(); // Check for heap corruption after the test in TearDown()
Druntime_test.cc69 runtime_->Start(); in TEST_F()
Doat_file_assistant_test.cc128 runtime_->AppendToBootClassPath(src, src, dex_files); in InsertNewBootClasspathEntry()
183 [this]() { Runtime::TestOnlySetCurrent(runtime_.get()); }); in ScopedMaybeWithoutRuntime()
190 .image_locations = runtime_->GetImageLocations(), in CreateOatFileAssistantContext()
191 .boot_class_path = runtime_->GetBootClassPath(), in CreateOatFileAssistantContext()
192 .boot_class_path_locations = runtime_->GetBootClassPathLocations(), in CreateOatFileAssistantContext()
193 .boot_class_path_fds = !runtime_->GetBootClassPathFds().empty() ? in CreateOatFileAssistantContext()
194 &runtime_->GetBootClassPathFds() : in CreateOatFileAssistantContext()
196 .deny_art_apex_data_files = runtime_->DenyArtApexDataFiles(), in CreateOatFileAssistantContext()
1556 runtime_->Start(); in TEST_F()
2118 runtime_->Start(); in TEST_F()
[all …]
Dthread_pool_test.cc204 bool started = runtime_->Start(); in TEST_F()
Dcommon_runtime_test.h193 std::unique_ptr<Runtime> runtime_; variable
/art/runtime/jit/
Djit_load_test.cc34 runtime_->Start(); in TEST_F()
35 ASSERT_NE(runtime_->GetJit(), nullptr); in TEST_F()
/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/runtime/metrics/
Dreporter.cc45 runtime_{runtime},
122 const bool attached = runtime_->AttachCurrentThread(kBackgroundThreadName, in BackgroundThreadRun()
124 runtime_->GetSystemThreadGroup(), in BackgroundThreadRun()
189 runtime_->DetachCurrentThread(); in BackgroundThreadRun()
200 ArtMetrics* MetricsReporter::GetMetrics() { return runtime_->GetMetrics(); } in GetMetrics()
Dreporter.h171 Runtime* runtime_; variable
Dreporter_test.cc103 bool started = runtime_->Start(); in SetUp()
/art/compiler/
Dcompiler_reflection_test.cc50 bool started = runtime_->Start(); in TEST_F()
Dcommon_compiler_test.h121 return RuntimeBase::runtime_.get(); in GetRuntime()
Dexception_test.cc176 bool started = runtime_->Start(); in TEST_F()
/art/openjdkjvmti/
Dti_redefine.cc758 art::ClassLinker* cl = driver_->runtime_->GetClassLinker(); in CreateNewDexCache()
842 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in FindAndAllocateObsoleteMethods()
1751 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in CollectAndCreateNewInstances()
1772 driver_->runtime_->GetClassLinker()))); in CollectAndCreateNewInstances()
1824 driver_->self_, driver_->runtime_->GetHeap()->GetCurrentAllocator())); in CollectAndCreateNewInstances()
1913 art::gc::Heap* heap = driver_->runtime_->GetHeap(); in FinishNewClassAllocations()
1938 driver_->runtime_->GetClassLinker()))); in FinishNewClassAllocations()
2078 art::ClassLinker* linker = driver_->runtime_->GetClassLinker(); in AllocateNewClassObject()
2154 driver_->runtime_->GetInstrumentation()->InitializeMethodsCode(m, /* aot_code= */ nullptr); in AllocateNewClassObject()
2401 : self_(self), runtime_(runtime), pauser_() { in ScopedSuspendClassLoading()
[all …]
Dti_redefine.h296 art::Runtime* runtime_; variable
311 runtime_(runtime), in Redefiner()
Devents.cc1241 : runtime_(runtime) {} in HandleLocalAccessCapabilityAdded()
1255 } else if (!runtime_->GetClassLinker()->IsQuickToInterpreterBridge(code) && in HandleLocalAccessCapabilityAdded()
1256 !runtime_->IsAsyncDeoptimizeable(&m, reinterpret_cast<uintptr_t>(code))) { in HandleLocalAccessCapabilityAdded()
1257 runtime_->GetInstrumentation()->InitializeMethodsCode(&m, /*aot_code=*/ nullptr); in HandleLocalAccessCapabilityAdded()
1264 art::Runtime* runtime_; in HandleLocalAccessCapabilityAdded() member in openjdkjvmti::EventHandler::HandleLocalAccessCapabilityAdded::UpdateEntryPointsClassVisitor
/art/dex2oat/
Ddex2oat.cc333 runtime_ = runtime; in SetRuntime()
410 Runtime* runtime = runtime_; in GetRuntime()
416 static Runtime* runtime_; member in art::WatchDog
429 Runtime* WatchDog::runtime_ = nullptr; member in art::WatchDog
517 runtime_(nullptr), in Dex2Oat()
578 runtime_.release(); // NOLINT in ~Dex2Oat()
1567 if (runtime_->GetHeap()->GetBootImageSpaces().empty() && in Setup()
1574 ArrayRef<const DexFile* const> bcp_dex_files(runtime_->GetClassLinker()->GetBootClassPath()); in Setup()
1589 for (const std::string& bcp_location : runtime_->GetBootClassPathLocations()) { in Setup()
1827 runtime_->GetHeap()->CollectGarbage(/* clear_soft_references */ true); in CompileDexFilesIndividually()
[all …]
/art/runtime/jni/
Djava_vm_ext.h75 return runtime_; in GetRuntime()
247 Runtime* const runtime_; variable
Djava_vm_ext.cc499 : runtime_(runtime), in JavaVMExt()
653 old_allocation_tracking_state_ = runtime_->GetHeap()->IsAllocTrackingEnabled(); in CheckGlobalRefAllocationTracking()
780 runtime_->GetThreadList()->ForEach(ThreadEnableCheckJni, &check_jni_); in SetCheckJniEnabled()
1044 runtime_->GetTargetSdkVersion(), in LoadNativeLibrary()
1112 if (IsSdkVersionSetAndAtMost(runtime_->GetTargetSdkVersion(), SdkVersion::kL)) { in LoadNativeLibrary()
/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()
1647 bool started = runtime_->Start(); in TEST_F()
1659 bool started = runtime_->Start(); in TEST_F()
1671 bool started = runtime_->Start(); in TEST_F()
1682 bool started = runtime_->Start(); in TEST_F()
1693 bool started = runtime_->Start(); in TEST_F()
/art/dex2oat/driver/
Dcompiler_driver_test.cc59 bool started = runtime_->Start(); in EnsureCompiled()
96 runtime_->GetInstrumentation()->InitializeMethodsCode(method, /*aot_code=*/ method_code); in MakeExecutable()

12