Lines Matching refs:Runtime

197 Runtime* Runtime::instance_ = nullptr;
228 Runtime::Runtime() in Runtime() function in art::Runtime
300 static_assert(Runtime::kCalleeSaveSize == in Runtime()
312 Runtime::~Runtime() { in ~Runtime()
523 if (Runtime::Current() == nullptr) { in Dump()
562 Runtime* runtime = Runtime::Current(); in DumpAllThreads()
610 void Runtime::Abort(const char* msg) { in Abort()
619 Runtime* current = Runtime::Current(); in Abort()
628 Runtime* current = Runtime::Current(); in Abort()
668 if (Runtime::Current() != nullptr && Runtime::Current()->abort_ != nullptr) { in Abort()
670 Runtime::Current()->abort_(); in Abort()
679 void Runtime::PreZygoteFork() { in PreZygoteFork()
687 void Runtime::PostZygoteFork() { in PostZygoteFork()
695 void Runtime::CallExitHook(jint status) { in CallExitHook()
703 void Runtime::SweepSystemWeaks(IsMarkedVisitor* visitor) { in SweepSystemWeaks()
724 bool Runtime::ParseOptions(const RuntimeOptions& raw_options, in ParseOptions()
741 Runtime* runtime = Runtime::Current(); in IsSafeToCallAbort()
745 bool Runtime::Create(RuntimeArgumentMap&& runtime_options) { in Create()
747 if (Runtime::instance_ != nullptr) { in Create()
750 instance_ = new Runtime; in Create()
762 bool Runtime::Create(const RuntimeOptions& raw_options, bool ignore_unrecognized) { in Create()
768 static jobject CreateSystemClassLoader(Runtime* runtime) { in CreateSystemClassLoader()
774 ClassLinker* cl = Runtime::Current()->GetClassLinker(); in CreateSystemClassLoader()
813 std::string Runtime::GetCompilerExecutable() const { in GetCompilerExecutable()
827 void Runtime::RunRootClinits(Thread* self) { in RunRootClinits()
844 bool Runtime::Start() { in Start()
993 void Runtime::EndThreadBirth() REQUIRES(Locks::runtime_shutdown_lock_) { in EndThreadBirth()
1001 void Runtime::InitNonZygoteOrPostFork( in InitNonZygoteOrPostFork()
1067 Runtime::Current()->IsSystemServer())) { in InitNonZygoteOrPostFork()
1088 void Runtime::StartSignalCatcher() { in StartSignalCatcher()
1094 bool Runtime::IsShuttingDown(Thread* self) { in IsShuttingDown()
1099 void Runtime::StartDaemonThreads() { in StartDaemonThreads()
1134 bool verify = Runtime::Current()->IsVerificationEnabled(); in OpenBootDexFiles()
1148 void Runtime::SetSentinel(ObjPtr<mirror::Object> sentinel) { in SetSentinel()
1155 GcRoot<mirror::Object> Runtime::GetSentinel() { in GetSentinel()
1160 Runtime* runtime, in CreatePreAllocatedException()
1185 bool Runtime::Init(RuntimeArgumentMap&& runtime_options_in) { in Init()
1299 for (const std::string& option : Runtime::Current()->GetCompilerOptions()) { in Init()
1803 bool Runtime::EnsurePluginLoaded(const char* plugin_name, std::string* error_msg) { in EnsurePluginLoaded()
1819 bool Runtime::EnsurePerfettoPlugin(std::string* error_msg) { in EnsurePerfettoPlugin()
1825 static bool EnsureJvmtiPlugin(Runtime* runtime, in EnsureJvmtiPlugin()
1847 void Runtime::AttachAgent(JNIEnv* env, const std::string& agent_arg, jobject class_loader) { in AttachAgent()
1871 void Runtime::InitNativeMethods() { in InitNativeMethods()
1924 void Runtime::ReclaimArenaPoolMemory() { in ReclaimArenaPoolMemory()
1928 void Runtime::InitThreadGroups(Thread* self) { in InitThreadGroups()
1943 jobject Runtime::GetMainThreadGroup() const { in GetMainThreadGroup()
1948 jobject Runtime::GetSystemThreadGroup() const { in GetSystemThreadGroup()
1953 jobject Runtime::GetSystemClassLoader() const { in GetSystemClassLoader()
1958 void Runtime::RegisterRuntimeNativeMethods(JNIEnv* env) { in RegisterRuntimeNativeMethods()
1995 void Runtime::DumpDeoptimizations(std::ostream& os) { in DumpDeoptimizations()
2007 void Runtime::DumpForSigQuit(std::ostream& os) { in DumpForSigQuit()
2032 void Runtime::DumpLockHolders(std::ostream& os) { in DumpLockHolders()
2045 void Runtime::SetStatsEnabled(bool new_state) { in SetStatsEnabled()
2061 void Runtime::ResetStats(int kinds) { in ResetStats()
2067 uint64_t Runtime::GetStat(int kind) { in GetStat()
2101 void Runtime::BlockSignals() { in BlockSignals()
2111 bool Runtime::AttachCurrentThread(const char* thread_name, bool as_daemon, jobject thread_group, in AttachCurrentThread()
2123 void Runtime::DetachCurrentThread() { in DetachCurrentThread()
2135 mirror::Throwable* Runtime::GetPreAllocatedOutOfMemoryErrorWhenThrowingException() { in GetPreAllocatedOutOfMemoryErrorWhenThrowingException()
2143 mirror::Throwable* Runtime::GetPreAllocatedOutOfMemoryErrorWhenThrowingOOME() { in GetPreAllocatedOutOfMemoryErrorWhenThrowingOOME()
2151 mirror::Throwable* Runtime::GetPreAllocatedOutOfMemoryErrorWhenHandlingStackOverflow() { in GetPreAllocatedOutOfMemoryErrorWhenHandlingStackOverflow()
2159 mirror::Throwable* Runtime::GetPreAllocatedNoClassDefFoundError() { in GetPreAllocatedNoClassDefFoundError()
2167 void Runtime::VisitConstantRoots(RootVisitor* visitor) { in VisitConstantRoots()
2189 void Runtime::VisitConcurrentRoots(RootVisitor* visitor, VisitRootFlags flags) { in VisitConcurrentRoots()
2200 void Runtime::VisitTransactionRoots(RootVisitor* visitor) { in VisitTransactionRoots()
2206 void Runtime::VisitNonThreadRoots(RootVisitor* visitor) { in VisitNonThreadRoots()
2221 void Runtime::VisitNonConcurrentRoots(RootVisitor* visitor, VisitRootFlags flags) { in VisitNonConcurrentRoots()
2226 void Runtime::VisitThreadRoots(RootVisitor* visitor, VisitRootFlags flags) { in VisitThreadRoots()
2230 void Runtime::VisitRoots(RootVisitor* visitor, VisitRootFlags flags) { in VisitRoots()
2235 void Runtime::VisitReflectiveTargets(ReflectiveValueVisitor *visitor) { in VisitReflectiveTargets()
2242 void Runtime::VisitImageRoots(RootVisitor* visitor) { in VisitImageRoots()
2276 ArtMethod* Runtime::CreateImtConflictMethod(LinearAlloc* linear_alloc) { in CreateImtConflictMethod()
2292 void Runtime::SetImtConflictMethod(ArtMethod* method) { in SetImtConflictMethod()
2298 ArtMethod* Runtime::CreateResolutionMethod() { in CreateResolutionMethod()
2312 ArtMethod* Runtime::CreateCalleeSaveMethod() { in CreateCalleeSaveMethod()
2321 void Runtime::DisallowNewSystemWeaks() { in DisallowNewSystemWeaks()
2337 void Runtime::AllowNewSystemWeaks() { in AllowNewSystemWeaks()
2353 void Runtime::BroadcastForNewSystemWeaks(bool broadcast_for_checkpoint) { in BroadcastForNewSystemWeaks()
2371 void Runtime::SetInstructionSet(InstructionSet instruction_set) { in SetInstructionSet()
2389 void Runtime::ClearInstructionSet() { in ClearInstructionSet()
2393 void Runtime::SetCalleeSaveMethod(ArtMethod* method, CalleeSaveType type) { in SetCalleeSaveMethod()
2399 void Runtime::ClearCalleeSaveMethods() { in ClearCalleeSaveMethods()
2405 void Runtime::RegisterAppInfo(const std::vector<std::string>& code_paths, in RegisterAppInfo()
2432 bool Runtime::IsActiveTransaction() const { in IsActiveTransaction()
2436 void Runtime::EnterTransactionMode(bool strict, mirror::Class* root) { in EnterTransactionMode()
2447 void Runtime::ExitTransactionMode() { in ExitTransactionMode()
2453 void Runtime::RollbackAndExitTransactionMode() { in RollbackAndExitTransactionMode()
2460 bool Runtime::IsTransactionAborted() const { in IsTransactionAborted()
2469 void Runtime::RollbackAllTransactions() { in RollbackAllTransactions()
2477 bool Runtime::IsActiveStrictTransactionMode() const { in IsActiveStrictTransactionMode()
2481 const std::unique_ptr<Transaction>& Runtime::GetTransaction() const { in GetTransaction()
2486 void Runtime::AbortTransactionAndThrowAbortError(Thread* self, const std::string& abort_message) { in AbortTransactionAndThrowAbortError()
2498 void Runtime::ThrowTransactionAbortError(Thread* self) { in ThrowTransactionAbortError()
2505 void Runtime::RecordWriteFieldBoolean(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldBoolean()
2512 void Runtime::RecordWriteFieldByte(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldByte()
2519 void Runtime::RecordWriteFieldChar(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldChar()
2526 void Runtime::RecordWriteFieldShort(mirror::Object* obj, MemberOffset field_offset, in RecordWriteFieldShort()
2533 void Runtime::RecordWriteField32(mirror::Object* obj, MemberOffset field_offset, in RecordWriteField32()
2540 void Runtime::RecordWriteField64(mirror::Object* obj, MemberOffset field_offset, in RecordWriteField64()
2547 void Runtime::RecordWriteFieldReference(mirror::Object* obj, in RecordWriteFieldReference()
2559 void Runtime::RecordWriteArray(mirror::Array* array, size_t index, uint64_t value) const { in RecordWriteArray()
2565 void Runtime::RecordStrongStringInsertion(ObjPtr<mirror::String> s) const { in RecordStrongStringInsertion()
2571 void Runtime::RecordWeakStringInsertion(ObjPtr<mirror::String> s) const { in RecordWeakStringInsertion()
2577 void Runtime::RecordStrongStringRemoval(ObjPtr<mirror::String> s) const { in RecordStrongStringRemoval()
2583 void Runtime::RecordWeakStringRemoval(ObjPtr<mirror::String> s) const { in RecordWeakStringRemoval()
2589 void Runtime::RecordResolveString(ObjPtr<mirror::DexCache> dex_cache, in RecordResolveString()
2596 void Runtime::SetFaultMessage(const std::string& message) { in SetFaultMessage()
2602 std::string Runtime::GetFaultMessage() { in GetFaultMessage()
2620 void Runtime::AddCurrentRuntimeFeaturesAsDex2OatArguments(std::vector<std::string>* argv) in AddCurrentRuntimeFeaturesAsDex2OatArguments()
2644 void Runtime::CreateJitCodeCache(bool rwx_memory_allowed) { in CreateJitCodeCache()
2664 void Runtime::CreateJit() { in CreateJit()
2689 bool Runtime::CanRelocate() const { in CanRelocate()
2693 bool Runtime::IsCompilingBootImage() const { in IsCompilingBootImage()
2697 void Runtime::SetResolutionMethod(ArtMethod* method) { in SetResolutionMethod()
2703 void Runtime::SetImtUnimplementedMethod(ArtMethod* method) { in SetImtUnimplementedMethod()
2709 void Runtime::FixupConflictTables() { in FixupConflictTables()
2724 void Runtime::DisableVerifier() { in DisableVerifier()
2728 bool Runtime::IsVerificationEnabled() const { in IsVerificationEnabled()
2733 bool Runtime::IsVerificationSoftFail() const { in IsVerificationSoftFail()
2737 bool Runtime::IsAsyncDeoptimizeable(uintptr_t code) const { in IsAsyncDeoptimizeable()
2754 LinearAlloc* Runtime::CreateLinearAlloc() { in CreateLinearAlloc()
2763 double Runtime::GetHashTableMinLoadFactor() const { in GetHashTableMinLoadFactor()
2767 double Runtime::GetHashTableMaxLoadFactor() const { in GetHashTableMaxLoadFactor()
2771 void Runtime::UpdateProcessState(ProcessState process_state) { in UpdateProcessState()
2777 void Runtime::RegisterSensitiveThread() const { in RegisterSensitiveThread()
2782 bool Runtime::UseJitCompilation() const { in UseJitCompilation()
2786 void Runtime::EnvSnapshot::TakeSnapshot() { in TakeSnapshot()
2800 char** Runtime::EnvSnapshot::GetSnapshot() const { in GetSnapshot()
2804 void Runtime::AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder) { in AddSystemWeakHolder()
2813 void Runtime::RemoveSystemWeakHolder(gc::AbstractSystemWeakHolder* holder) { in RemoveSystemWeakHolder()
2823 RuntimeCallbacks* Runtime::GetRuntimeCallbacks() { in GetRuntimeCallbacks()
2835 auto pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize(); in operator ()()
2838 if (Runtime::Current()->GetHeap()->IsInBootImageOatFile(code) && in operator ()()
2844 if (Runtime::Current()->GetJit() != nullptr && in operator ()()
2845 Runtime::Current()->GetJit()->GetCodeCache()->IsInZygoteExecSpace(code) && in operator ()()
2865 void Runtime::SetJavaDebuggable(bool value) { in SetJavaDebuggable()
2870 void Runtime::DeoptimizeBootImage() { in DeoptimizeBootImage()
2906 Runtime::ScopedThreadPoolUsage::ScopedThreadPoolUsage() in ScopedThreadPoolUsage()
2907 : thread_pool_(Runtime::Current()->AcquireThreadPool()) {} in ScopedThreadPoolUsage()
2909 Runtime::ScopedThreadPoolUsage::~ScopedThreadPoolUsage() { in ~ScopedThreadPoolUsage()
2910 Runtime::Current()->ReleaseThreadPool(); in ~ScopedThreadPoolUsage()
2913 bool Runtime::DeleteThreadPool() { in DeleteThreadPool()
2926 ThreadPool* Runtime::AcquireThreadPool() { in AcquireThreadPool()
2932 void Runtime::ReleaseThreadPool() { in ReleaseThreadPool()
2938 void Runtime::WaitForThreadPoolWorkersToStart() { in WaitForThreadPoolWorkersToStart()
2946 void Runtime::ResetStartupCompleted() { in ResetStartupCompleted()
2950 class Runtime::NotifyStartupCompletedTask : public gc::HeapTask {
2956 Runtime* const runtime = Runtime::Current(); in Run()
2998 void Runtime::NotifyStartupCompleted() { in NotifyStartupCompleted()
3017 bool Runtime::GetStartupCompleted() const { in GetStartupCompleted()
3021 void Runtime::SetSignalHookDebuggable(bool value) { in SetSignalHookDebuggable()
3025 void Runtime::SetJniIdType(JniIdType t) { in SetJniIdType()
3035 bool Runtime::GetOatFilesExecutable() const { in GetOatFilesExecutable()
3039 void Runtime::ProcessWeakClass(GcRoot<mirror::Class>* root_ptr, in ProcessWeakClass()