Searched refs:threads (Results 1 - 12 of 12) sorted by relevance

/art/test/ParallelGC/
H A DParallelGC.java22 Thread[] threads = new Thread[16];
23 for (int i = 0; i < threads.length; i++) {
24 threads[i] = new Thread(new ParallelGC(i));
26 for (Thread thread : threads) {
29 for (Thread thread : threads) {
/art/test/051-thread/src/
H A DMain.java26 MyThread[] threads = new MyThread[512];
28 threads[i] = new MyThread();
31 for (MyThread thread : threads) {
34 for (MyThread thread : threads) {
/art/runtime/
H A Dthread_list.cc38 // Detach the current thread if necessary. If we failed to start, there might not be any threads.
159 // Call a checkpoint function for each thread, threads which are suspend get their checkpoint
185 // Run the checkpoint on ourself while we wait for threads to suspend.
188 // Run the checkpoint on the suspended threads.
214 // Imitate ResumeAll, threads may be waiting on Thread::resume_cond_ since we raised their
227 VLOG(threads) << *self << " SuspendAll starting...";
239 // Update global suspend all state for attaching threads.
246 VLOG(threads) << "requesting thread suspend: " << *thread;
252 // Block on the mutator lock until all Runnable threads release their share of access.
262 // Debug check that all threads ar
[all...]
H A Dthread_linux.cc47 VLOG(threads) << "Alternate signal stack is " << PrettySize(ss.ss_size) << " at " << ss.ss_sp;
H A Dthread_android.cc25 #include <utils/threads.h>
H A Dthread_pool.cc91 // Wait for all of the threads to attach.
95 void ThreadPool::SetMaxActiveWorkers(size_t threads) { argument
97 CHECK_LE(threads, GetThreadCount());
98 max_active_workers_ = threads;
111 // Wait for the threads to finish.
132 // Ensure that we don't use more threads than the maximum active workers.
H A Druntime_test.cc81 EXPECT_FALSE(VLOG_IS_ON(threads));
H A Dthread_pool.h65 // Returns the number of threads in the thread pool.
93 // Provides a way to bound the maximum number of worker threads, threads must be less the the
95 void SetMaxActiveWorkers(size_t threads);
115 // How many worker threads are waiting on the condition.
H A Dthread.cc148 // while threads are being born).
209 // Dalvik used the bionic pthread default stack size for native threads,
340 // so that thread needs a two-stage attach. Regular threads don't need this hack.
341 // In the compiler, all threads need this hack, because no-one's going to be getting
423 VLOG(threads) << StringPrintf("Native stack is at %p (%s)", stack_base, PrettySize(stack_size).c_str());
444 // Find the default stack size for new threads...
456 VLOG(threads) << "Limiting unlimited stack (reported as " << PrettySize(old_stack_size) << ")"
587 VLOG(threads) << this << " self-suspending";
589 // Make thread appear suspended to other threads, release mutator_lock_.
594 VLOG(threads) << thi
[all...]
H A Druntime.cc124 // Make sure our internal threads are dead before we start tearing down things they're using.
128 // Make sure all other non-daemon threads have terminated, and all daemon threads are suspended.
180 os << "Dumping all threads without appropriate locks held:"
185 os << "All threads:\n";
193 // Ensure that we don't have multiple threads trying to abort at once,
383 // gLogVerbosity.threads = true; // TODO: don't check this in!
564 } else if (verbose_options[i] == "threads") {
565 gLogVerbosity.threads = true;
723 // Initialize well known thread group values that may be accessed threads whil
[all...]
H A Ddebugger.cc459 // This may cause us to suspend all threads.
559 // Suspend all threads and exclusively acquire the mutator lock. Set the state of the thread
667 // Ensure all threads are suspended while we read objects' lock words.
1581 // We still need to report the zombie threads' names, so we can't just call Thread::GetThreadName.
1605 // Zombie threads are in the null group.
1762 // query all threads, so it's easier if we just don't tell them about this thread.
1777 // TODO: if we identified threads to the debugger by their Thread*
1779 // Doing so might help us report ZOMBIE threads too.
1782 // Do we want threads from all thread groups?
2306 // If the debugger is single-stepping one of our threads, chec
3039 std::list<Thread*> threads; local
[all...]
/art/runtime/base/
H A Dlogging.h319 bool threads; member in struct:art::LogVerbosity

Completed in 357 milliseconds