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.cc200 uint16_t thread_count = 0; in DdmVmInternal_getThreadStats() local
201 thread_list->ForEach(ThreadCountCallback, &thread_count); in DdmVmInternal_getThreadStats()
205 Append2BE(bytes, thread_count); in DdmVmInternal_getThreadStats()
/art/dex2oat/driver/
Dcompiler_driver.h91 size_t thread_count,
247 size_t thread_count,
267 size_t thread_count,
278 size_t thread_count,
Dcompiler_driver.cc259 size_t thread_count, in CompilerDriver() argument
266 parallel_thread_count_(thread_count), in CompilerDriver()
1768 size_t thread_count, in ResolveDexFile() argument
1782 context.ForAll(0, dex_file.NumTypeIds(), &visitor, thread_count); in ResolveDexFile()
1787 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in ResolveDexFile()
2109 size_t thread_count, in VerifyDexFile() argument
2121 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in VerifyDexFile()
2179 size_t thread_count, in SetVerifiedDexFile() argument
2189 context.ForAll(0, dex_file.NumClassDefs(), &visitor, thread_count); in SetVerifiedDexFile()
2710 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/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/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/openjdkjvmti/
Dti_stack.h69 jint thread_count,
Dti_stack.cc516 jint thread_count, in GetThreadListStackTraces() argument
523 if (thread_count < 0) { in GetThreadListStackTraces()
526 if (thread_count == 0) { in GetThreadListStackTraces()
577 for (jint i = 0; i != thread_count; ++i) { in GetThreadListStackTraces()
639 size_t rounded_stack_info_size = art::RoundUp(sizeof(jvmtiStackInfo) * thread_count, in GetThreadListStackTraces()
652 for (size_t i = 0; i < static_cast<size_t>(thread_count); ++i) { in GetThreadListStackTraces()
DOpenjdkJvmTi.cc311 jint thread_count, in GetThreadListStackTraces() argument
317 thread_count, in GetThreadListStackTraces()
/art/runtime/
Dthread_pool.cc242 const size_t thread_count = GetThreadCount(); in GetTask() local
244 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()