/art/test/911-get-stack-trace/ |
D | stack_trace.cc | 145 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/ |
D | threadgroups.cc | 91 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/ |
D | agent_thread.cc | 74 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/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 200 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/ |
D | compiler_driver.h | 91 size_t thread_count, 247 size_t thread_count, 267 size_t thread_count, 278 size_t thread_count,
|
D | compiler_driver.cc | 259 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/ |
D | mark_sweep.cc | 883 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 …]
|
D | mark_sweep.h | 294 void ProcessMarkStackParallel(size_t thread_count)
|
/art/test/ti-agent/ |
D | jni_binder.cc | 197 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/ |
D | threads.cc | 151 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/ |
D | ti_stack.h | 69 jint thread_count,
|
D | ti_stack.cc | 516 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()
|
D | OpenjdkJvmTi.cc | 311 jint thread_count, in GetThreadListStackTraces() argument 317 thread_count, in GetThreadListStackTraces()
|
/art/runtime/ |
D | thread_pool.cc | 242 const size_t thread_count = GetThreadCount(); in GetTask() local 244 const size_t active_threads = thread_count - waiting_count_; in GetTask()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 1521 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()
|