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

/art/test/304-method-tracing/src/
H A DMain.java31 ArrayList<Thread> threads = new ArrayList<Thread>();
33 threads.add(new Thread(new ThreadRunnable(), "TestThread-" + i));
36 for (Thread t : threads) {
40 for (Thread t : threads) {
/art/test/114-ParallelGC/src/
H A DMain.java31 Thread[] threads = new Thread[16];
47 CyclicBarrier barrier = new CyclicBarrier(threads.length);
49 threads.length);
50 for (int i = 0; i < threads.length; i++) {
54 for (int i = 0; i < threads.length; i++) {
55 threads[i] = new Thread(new Main(i, queues.get(i), queues.get((i + 1) % threads.length),
58 for (Thread thread : threads) {
65 // Wait for the threads to finish.
66 for (Thread thread : threads) {
[all...]
/art/test/051-thread/src/
H A DMain.java41 TestCapacityThread[] threads = new TestCapacityThread[512];
43 threads[i] = new TestCapacityThread();
46 for (TestCapacityThread thread : threads) {
49 for (TestCapacityThread thread : threads) {
/art/runtime/
H A Dthread_list.cc52 // Detach the current thread if necessary. If we failed to start, there might not be any threads.
178 // Unlike suspending all threads where we can wait to acquire the mutator_lock_, suspending an
210 // Call a checkpoint function for each thread, threads which are suspend get their checkpoint
237 // Run the checkpoint on ourself while we wait for threads to suspend.
240 // Run the checkpoint on the suspended threads.
264 // Imitate ResumeAll, threads may be waiting on Thread::resume_cond_ since we raised their
275 // threads. Returns the number of successful requests.
300 // Return the number of threads that will run the checkpoint function.
308 VLOG(threads) << *self << " SuspendAll starting...";
310 VLOG(threads) << "Threa
[all...]
H A Dthread_android.cc25 #include <utils/threads.h>
60 // processes, where all threads are in the SP_BACKGROUND cgroup. This means that callers will
H A Dthread_linux.cc57 VLOG(threads) << "Alternate signal stack is " << PrettySize(ss.ss_size) << " at " << ss.ss_sp;
H A Dthread_pool.cc95 // Wait for all of the threads to attach.
99 void ThreadPool::SetMaxActiveWorkers(size_t threads) { argument
101 CHECK_LE(threads, GetThreadCount());
102 max_active_workers_ = threads;
115 // Wait for the threads to finish.
136 // Ensure that we don't use more threads than the maximum active workers.
H A Dparsed_options_test.cc80 EXPECT_FALSE(VLOG_IS_ON(threads));
H A Dthread_pool.h66 // Returns the number of threads in the thread pool.
94 // Provides a way to bound the maximum number of worker threads, threads must be less the the
96 void SetMaxActiveWorkers(size_t threads);
117 // How many worker threads are waiting on the condition.
H A Dthread.cc157 // while threads are being born).
213 // Dalvik used the bionic pthread default stack size for native threads,
275 VLOG(threads) << "installing stack protected region at " << std::hex <<
400 // so that thread needs a two-stage attach. Regular threads don't need this hack.
401 // In the compiler, all threads need this hack, because no-one's going to be getting
506 VLOG(threads) << StringPrintf("Native stack is at %p (%s with %s guard)",
537 // Find the default stack size for new threads...
549 VLOG(threads) << "Limiting unlimited stack (reported as " << PrettySize(old_stack_size) << ")"
741 VLOG(threads) << this << " self-suspending";
743 // Make thread appear suspended to other threads, releas
[all...]
H A Dparsed_options.cc265 // gLogVerbosity.threads = true; // TODO: don't check this in!
500 } else if (verbose_options[i] == "threads") {
501 gLogVerbosity.threads = true;
H A Ddebugger.cc664 // This may cause us to suspend all threads.
790 // Suspend all threads and exclusively acquire the mutator lock. Set the state of the thread
925 // Ensure all threads are suspended while we read objects' lock words.
1981 // We still need to report the zombie threads' names, so we can't just call Thread::GetThreadName.
2008 // Zombie threads are in the null group.
2115 // Add child threads.
2232 // Do we want threads from all thread groups?
2252 // query all threads, so it's easier if we just don't tell them about this thread.
2264 // TODO: if we identified threads to the debugger by their Thread*
2266 // Doing so might help us report ZOMBIE threads to
4009 std::list<Thread*> threads; local
[all...]
/art/runtime/base/
H A Dlogging.h314 bool threads; member in struct:art::LogVerbosity
/art/runtime/gc/allocator/
H A Drosalloc.cc1968 std::list<Thread*> threads = Runtime::Current()->GetThreadList()->GetList(); local
1969 for (Thread* thread : threads) {
2119 // Acquire the lock to prevent other threads racing in and modifying the page map.

Completed in 618 milliseconds