Home
last modified time | relevance | path

Searched refs:thread_count (Results 1 – 15 of 15) sorted by relevance

/art/test/911-get-stack-trace/
Dstack_trace.cc145 jint thread_count; in Java_art_AllTraces_getAllStackTraces() local
148 jvmtiError result = jvmti_env->GetAllStackTraces(max, &stack_infos, &thread_count); in Java_art_AllTraces_getAllStackTraces()
166 jobjectArray ret = CreateObjectArray(env, thread_count, "[Ljava/lang/Object;", callback); in Java_art_AllTraces_getAllStackTraces()
173 jint thread_count = env->GetArrayLength(jthreads); in Java_art_ThreadListTraces_getThreadListStackTraces() local
174 std::unique_ptr<jthread[]> threads(new jthread[thread_count]); in Java_art_ThreadListTraces_getThreadListStackTraces()
175 for (jint i = 0; i != thread_count; ++i) { in Java_art_ThreadListTraces_getThreadListStackTraces()
181 jvmtiError result = jvmti_env->GetThreadListStackTraces(thread_count, in Java_art_ThreadListTraces_getThreadListStackTraces()
202 jobjectArray ret = CreateObjectArray(env, thread_count, "[Ljava/lang/Object;", callback); in Java_art_ThreadListTraces_getThreadListStackTraces()
/art/test/925-threadgroups/
Dthreadgroups.cc91 jint thread_count; in Java_art_Test925_getThreadGroupChildren() local
97 &thread_count, in Java_art_Test925_getThreadGroupChildren()
111 return CreateObjectArray(env, thread_count, "java/lang/Thread", inner_callback); in Java_art_Test925_getThreadGroupChildren()
/art/test/931-agent-thread/
Dagent_thread.cc74 jint thread_count; in AgentMain() local
76 jvmtiError threads_result = jenv->GetAllThreads(&thread_count, &threads); in AgentMain()
79 for (jint i = 0; i != thread_count; ++i) { in AgentMain()
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc148 uint16_t thread_count = 0; in DdmVmInternal_getThreadStats() local
149 thread_list->ForEach(ThreadCountCallback, &thread_count); in DdmVmInternal_getThreadStats()
153 JDWP::Append2BE(bytes, thread_count); in DdmVmInternal_getThreadStats()
/art/dex2oat/driver/
Dcompiler_driver.h91 size_t thread_count,
244 size_t thread_count,
264 size_t thread_count,
275 size_t thread_count,
Dcompiler_driver.cc257 size_t thread_count, in CompilerDriver() argument
264 parallel_thread_count_(thread_count), in CompilerDriver()
1680 size_t thread_count, in ResolveDexFile() argument
1694 context.ForAll(0, dex_file.NumTypeIds(), &visitor, thread_count); in ResolveDexFile()
1699 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in ResolveDexFile()
2007 size_t thread_count, in VerifyDexFile() argument
2019 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in VerifyDexFile()
2074 size_t thread_count, in SetVerifiedDexFile() argument
2084 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in SetVerifiedDexFile()
2564 size_t thread_count, in CompileDexFile() argument
[all …]
/art/runtime/gc/collector/
Dmark_sweep.cc883 size_t thread_count = GetThreadCount(paused); in ScanGrayObjects() local
885 if (kParallelCardScan && thread_count > 1) { in ScanGrayObjects()
896 const size_t mark_stack_tasks = GetHeap()->GetContinuousSpaces().size() * thread_count; in ScanGrayObjects()
914 const size_t card_delta = RoundUp(address_range / thread_count + 1, in ScanGrayObjects()
950 thread_pool->SetMaxActiveWorkers(thread_count - 1); in ScanGrayObjects()
1035 size_t thread_count = GetThreadCount(false); in RecursiveMark() local
1036 const bool parallel = kParallelRecursiveMark && thread_count > 1; in RecursiveMark()
1054 const size_t n = thread_count * 2; in RecursiveMark()
1068 thread_pool->SetMaxActiveWorkers(thread_count - 1); in RecursiveMark()
1392 void MarkSweep::ProcessMarkStackParallel(size_t thread_count) { in ProcessMarkStackParallel() argument
[all …]
Dmark_sweep.h294 void ProcessMarkStackParallel(size_t thread_count)
/art/test/924-threads/
Dthreads.cc151 jint thread_count; in Java_art_Test924_getAllThreads() local
154 jvmtiError result = jvmti_env->GetAllThreads(&thread_count, &threads); in Java_art_Test924_getAllThreads()
162 jobjectArray ret = CreateObjectArray(env, thread_count, "java/lang/Thread", callback); in Java_art_Test924_getAllThreads()
/art/test/ti-agent/
Djni_binder.cc197 jint thread_count; in GetClass() local
199 CheckJvmtiError(jvmti_env, jvmti_env->GetAllThreads(&thread_count, &threads)); in GetClass()
203 for (jint t = 0; t != thread_count; ++t) { in GetClass()
/art/openjdkjvmti/
Dti_stack.h68 jint thread_count,
Dti_stack.cc499 jint thread_count, in GetThreadListStackTraces() argument
506 if (thread_count < 0) { in GetThreadListStackTraces()
509 if (thread_count == 0) { in GetThreadListStackTraces()
560 for (jint i = 0; i != thread_count; ++i) { in GetThreadListStackTraces()
622 size_t rounded_stack_info_size = art::RoundUp(sizeof(jvmtiStackInfo) * thread_count, in GetThreadListStackTraces()
635 for (size_t i = 0; i < static_cast<size_t>(thread_count); ++i) { in GetThreadListStackTraces()
DOpenjdkJvmTi.cc309 jint thread_count, in GetThreadListStackTraces() argument
315 thread_count, in GetThreadListStackTraces()
/art/runtime/
Dthread_pool.cc216 const size_t thread_count = GetThreadCount(); in GetTask() local
218 const size_t active_threads = thread_count - waiting_count_; in GetTask()
/art/openjdkjvmti/include/
Djvmti.h1521 jint thread_count,
1914 jvmtiError GetThreadListStackTraces(jint thread_count, in GetThreadListStackTraces()
1918 …return functions->GetThreadListStackTraces(this, thread_count, thread_list, max_frame_count, stack… in GetThreadListStackTraces()