Home
last modified time | relevance | path

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

1234567891011

/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc116 Runtime* const runtime = Runtime::Current(); in CollectNonDebuggableClasses() local
128 runtime->GetThreadList()->ForEach(DoCollectNonDebuggableCallback, &classes); in CollectNonDebuggableClasses()
160 Runtime* const runtime = Runtime::Current(); in EnableDebugFeatures() local
162 JavaVMExt* vm = runtime->GetJavaVM(); in EnableDebugFeatures()
185 runtime->AddCompilerOption("--compiler-filter=quicken"); in EnableDebugFeatures()
186 runtime->SetSafeMode(true); in EnableDebugFeatures()
194 jit::JitOptions* jit_options = runtime->GetJITOptions(); in EnableDebugFeatures()
204 runtime->AddCompilerOption("--debuggable"); in EnableDebugFeatures()
206 runtime->SetJavaDebuggable(true); in EnableDebugFeatures()
210 runtime->DeoptimizeBootImage(); in EnableDebugFeatures()
[all …]
/art/test/595-profile-saving/
Drun25 --runtime-option '-Xcompiler-option --compiler-filter=quicken' \
26 --runtime-option -Xjitinitialsize:32M \
27 --runtime-option -Xjitsaveprofilinginfo \
28 --runtime-option -Xusejit:false \
29 --runtime-option -Xps-profile-boot-class-path \
/art/runtime/
Daot_class_linker.cc39 Runtime* const runtime = Runtime::Current(); in InitializeClass() local
40 bool strict_mode_ = runtime->IsActiveStrictTransactionMode(); in InitializeClass()
51 runtime->AbortTransactionAndThrowAbortError(self, "Can't resolve " in InitializeClass()
58 runtime->EnterTransactionMode(true, klass.Get()->AsClass().Ptr()); in InitializeClass()
65 runtime->ExitTransactionMode(); in InitializeClass()
69 DCHECK(runtime->IsTransactionAborted()); in InitializeClass()
80 Runtime* const runtime = Runtime::Current(); in PerformClassVerification() local
81 CompilerCallbacks* callbacks = runtime->GetCompilerCallbacks(); in PerformClassVerification()
Dsignal_catcher.cc117 Runtime* runtime = Runtime::Current(); in HandleSigQuit() local
126 std::string fingerprint = runtime->GetFingerprint(); in HandleSigQuit()
128 os << "ABI: '" << GetInstructionSetString(runtime->GetInstructionSet()) << "'\n"; in HandleSigQuit()
132 runtime->DumpForSigQuit(os); in HandleSigQuit()
174 Runtime* runtime = Runtime::Current(); in Run() local
175 CHECK(runtime->AttachCurrentThread("Signal Catcher", true, runtime->GetSystemThreadGroup(), in Run()
176 !runtime->IsAotCompiler())); in Run()
194 runtime->DetachCurrentThread(); in Run()
Dscoped_thread_state_change-inl.h38 Runtime* runtime = Runtime::Current(); in ScopedThreadStateChange() local
39 CHECK(runtime == nullptr || !runtime->IsStarted() || runtime->IsShuttingDown(self_)); in ScopedThreadStateChange()
61 Runtime* runtime = Runtime::Current(); in ~ScopedThreadStateChange() local
62 bool shutting_down = (runtime == nullptr) || runtime->IsShuttingDown(nullptr); in ~ScopedThreadStateChange()
Dart_method.cc320 Runtime* runtime = Runtime::Current(); in Invoke() local
325 if (UNLIKELY(!runtime->IsStarted() || in Invoke()
338 DCHECK_EQ(runtime->GetClassLinker()->GetImagePointerSize(), kRuntimePointerSize); in Invoke()
350 if (kIsDebugBuild && runtime->GetInstrumentation()->IsForcedInterpretOnly()) { in Invoke()
351 CHECK(!runtime->UseJitCompilation()); in Invoke()
355 : GetOatMethodQuickCode(runtime->GetClassLinker()->GetImagePointerSize()); in Invoke()
582 Runtime* runtime = Runtime::Current(); in GetOatQuickMethodHeader() local
585 ClassLinker* class_linker = runtime->GetClassLinker(); in GetOatQuickMethodHeader()
607 jit::Jit* jit = runtime->GetJit(); in GetOatQuickMethodHeader()
677 Runtime* runtime = Runtime::Current(); in HasAnyCompiledCode() local
[all …]
Dinstrumentation_test.cc268 Runtime* runtime = Runtime::Current(); in DeoptimizeMethod() local
269 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeMethod()
284 Runtime* runtime = Runtime::Current(); in UndeoptimizeMethod() local
285 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeMethod()
299 Runtime* runtime = Runtime::Current(); in DeoptimizeEverything() local
300 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in DeoptimizeEverything()
314 Runtime* runtime = Runtime::Current(); in UndeoptimizeEverything() local
315 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in UndeoptimizeEverything()
329 Runtime* runtime = Runtime::Current(); in EnableMethodTracing() local
330 instrumentation::Instrumentation* instrumentation = runtime->GetInstrumentation(); in EnableMethodTracing()
[all …]
Dhidden_api.cc229 Runtime* runtime = Runtime::Current(); in LogAccessToEventLog() local
230 if (runtime->IsAotCompiler()) { in LogAccessToEventLog()
272 Runtime* runtime = Runtime::Current(); in NotifyHiddenApiListener() local
273 if (!runtime->IsAotCompiler()) { in NotifyHiddenApiListener()
307 static ALWAYS_INLINE void MaybeUpdateAccessFlags(Runtime* runtime, T* member, uint32_t flag) in MaybeUpdateAccessFlags() argument
314 !runtime->IsAotCompiler() && in MaybeUpdateAccessFlags()
315 runtime->ShouldDedupeHiddenApiWarnings()) { in MaybeUpdateAccessFlags()
436 Runtime* runtime = Runtime::Current(); in ShouldDenyAccessToMemberImpl() local
438 EnforcementPolicy policy = runtime->GetHiddenApiEnforcementPolicy(); in ShouldDenyAccessToMemberImpl()
444 IsSdkVersionSetAndMoreThan(runtime->GetTargetSdkVersion(), in ShouldDenyAccessToMemberImpl()
[all …]
/art/build/apex/
Dld.config.txt8 dir.runtime = /apex/com.android.runtime/bin/
10 [runtime]
11 additional.namespaces = platform,conscrypt,runtime
13 # Keep in sync with the runtime namespace in /system/etc/ld.config.txt.
18 namespace.default.search.paths = /apex/com.android.runtime/${LIB}
19 namespace.default.asan.search.paths = /apex/com.android.runtime/${LIB}
45 # /apex/com.android.runtime/lib/bionic/libc.so, etc. Add the path to the
53 namespace.platform.permitted.paths = /apex/com.android.runtime/${LIB}/bionic
54 namespace.platform.asan.permitted.paths = /apex/com.android.runtime/${LIB}/bionic
57 # the runtime Java code and binaries do not explicitly load native libraries
[all …]
DAndroid.bp3 // Modules listed in LOCAL_REQUIRED_MODULES for module art-runtime in art/Android.mk.
123 // Libraries needed to use com.android.runtime.host for zipapex run-tests
179 name: "com.android.runtime.key",
180 public_key: "com.android.runtime.avbpubkey",
181 private_key: "com.android.runtime.pem",
185 name: "com.android.runtime.debug.certificate",
186 certificate: "com.android.runtime.debug",
190 name: "com.android.runtime.release.certificate",
191 certificate: "com.android.runtime.release",
195 name: "com.android.runtime.ld.config.txt",
[all …]
/art/test/004-ThreadStress/
Drun26 ${RUN} --runtime-option -Xlockprofthreshold:10 "${@}" Main \
39 ${RUN} --runtime-option -Xlockprofthreshold:10 "${@}"
45 ${RUN} --runtime-option -Xlockprofthreshold:10 --runtime-option -Xstackdumplockprofthreshold:20 \
/art/tools/
Dhost_bcp.sh22 --runtime-arg -Xbootclasspath:...
23 --runtime-arg -Xbootclasspath-locations:...
25 and existing \$ANDROID_PRODUCT_OUT/apex/com.android.runtime* paths.
45 RUNTIME_APEX=/apex/com.android.runtime
74 echo --runtime-arg -Xbootclasspath:${BCP} \
75 --runtime-arg -Xbootclasspath-locations:${BCPL}
/art/test/1000-non-moving-space-stress/src-art/
DMain.java22 VMRuntime runtime = VMRuntime.getRuntime(); in main() local
29 $noinline$Alloc(runtime); in main()
47 static void $noinline$Alloc(VMRuntime runtime) { in $noinline$Alloc() argument
48 Object[] non_moving_array = (Object[]) runtime.newNonMovableArray(Object.class, 1); in $noinline$Alloc()
/art/test/118-noimage-dex2oat/
Drun37 ${RUN} ${flags} --runtime-option -Xnoimage-dex2oat
42 ${RUN} ${flags} --runtime-option -Xnoimage-dex2oat \
43 --runtime-option -Xno-dex-file-fallback
48 ${RUN} ${flags} --runtime-option -Ximage-dex2oat
/art/test/909-attach-agent/
Drun32 ./default-run "$@" --android-runtime-option -Xplugin:${plugin} \
33 --android-runtime-option -Xcompiler-option \
34 --android-runtime-option --debuggable \
38 ./default-run "$@" --android-runtime-option -Xcompiler-option \
39 --android-runtime-option --debuggable \
/art/test/900-hello-plugin/
Drun21 ./default-run "$@" --runtime-option -agentpath:${plugin}=test_900 \
22 --runtime-option -agentpath:${plugin}=test_900_round_2 \
23 --android-runtime-option -Xplugin:${plugin}
/art/openjdkjvmti/
Dti_jni.cc66 art::Runtime* runtime = art::Runtime::Current(); in GetJNIFunctionTable() local
67 if (runtime != nullptr && runtime->GetJavaVM() != nullptr) { in GetJNIFunctionTable()
68 check_jni = runtime->GetJavaVM()->IsCheckJniEnabled(); in GetJNIFunctionTable()
/art/test/004-NativeAllocations/src-art/
DMain.java24 static VMRuntime runtime = VMRuntime.getRuntime(); field in Main
58 runtime.registerNativeAllocation(size); in checkRegisterNativeAllocation()
76 runtime.registerNativeFree(size); in checkRegisterNativeAllocation()
93 runtime.registerNativeAllocation(size); in triggerBlockingRegisterNativeAllocation()
98 runtime.registerNativeFree(size); in triggerBlockingRegisterNativeAllocation()
/art/compiler/jit/
Djit_compiler.cc48 Runtime* runtime = Runtime::Current(); in ParseCompilerOptions() local
51 if (!compiler_options_->ParseCompilerOptions(runtime->GetCompilerOptions(), in ParseCompilerOptions()
64 compiler_options_->SetDebuggable(runtime->IsJavaDebuggable()); in ParseCompilerOptions()
74 for (const std::string& option : runtime->GetCompilerOptions()) { in ParseCompilerOptions()
110 CompilerOptions::IsCoreImageFilename(runtime->GetImageLocation()); in ParseCompilerOptions()
193 Runtime* runtime = Runtime::Current(); in CompileMethod() local
199 JitCodeCache* const code_cache = runtime->GetJit()->GetCodeCache(); in CompileMethod()
213 runtime->GetJitArenaPool()->TrimMaps(); in CompileMethod()
216 runtime->GetJit()->AddTimingLogger(logger); in CompileMethod()
/art/test/676-proxy-jit-at-first-use/
Drun19 ${RUN} "${@}" --runtime-option -Xjitthreshold:0 --runtime-option -Xjitinitialsize:32M
/art/test/652-deopt-intrinsic/
Drun22 exec ${RUN} "$@" --runtime-option -Xjitinitialsize:32M --runtime-option -Xjitthreshold:1000
/art/test/304-method-tracing/
Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
/art/test/134-nodex2oat-nofallback/
Drun20 ${RUN} ${flags} --runtime-option -Xno-dex-file-fallback --runtime-option -XX:FastClassNotFoundExcep…
/art/test/157-void-class/
Drun21 --runtime-option -Ximage-compiler-option \
22 --runtime-option --compiler-filter=verify
/art/test/677-fsi/
Drun19 …N} $@ -Xcompiler-option --copy-dex-files=always --runtime-option -Xonly-use-system-oat-files --run…

1234567891011