Searched defs:thread (Results 151 - 175 of 379) sorted by relevance

1234567891011>>

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DReversePtrsAnalysis.java93 // Do each thread's roots
94 for (JavaThread thread = VM.getVM().getThreads().first();
95 thread != null;
96 thread = thread.next()) {
98 thread.printThreadIDOn(new PrintStream(bos));
100 " in thread \"" + thread.getThreadName() +
102 doStack(thread,
104 doJNIHandleBlock(thread
297 doStack(JavaThread thread, AddressVisitor oopVisitor) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/
H A DAWTAutoShutdown.java41 * <li><code>toolkitThreadBusy</code> - whether the toolkit thread
52 * thread (<code>blockerThread</code>) is running when AWT is not in
53 * ready-to-shutdown state. This blocker thread is to prevent AWT from
54 * exiting since the toolkit thread is now daemon and all the event
56 * that AWT is in ready-to-shutdown state this blocker thread waits
58 * this blocker thread terminates all the event dispatch threads and
71 * This lock object is to secure that when a new blocker thread is
73 * the thread that created the new blocker released the main lock
87 * Indicates whether the toolkit thread is waiting for a new native
99 * References the alive non-daemon thread tha
164 notifyThreadBusy(final Thread thread) argument
190 notifyThreadFree(final Thread thread) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DTimer.java32 * background thread. Tasks may be scheduled for one-time execution, or for
36 * thread that is used to execute all of the timer's tasks, sequentially.
38 * to complete, it "hogs" the timer's task execution thread. This can, in
45 * execution thread terminates gracefully (and becomes subject to garbage
47 * default, the task execution thread does not run as a <i>daemon thread</i>,
49 * wants to terminate a timer's task execution thread rapidly, the caller
52 * <p>If the timer's task execution thread terminates unexpectedly, for
58 * <p>This class is thread-safe: multiple threads can share a single
67 * ScheduledThreadPoolExecutor} which is a thread poo
101 private final TimerThread thread = new TimerThread(queue); field in class:Timer
[all...]
/openjdk7/hotspot/src/share/vm/ci/
H A DciField.cpp72 CompilerThread *thread = CompilerThread::current(); local
79 constantPoolHandle cpool(thread, klass->get_instanceKlass()->constants());
83 _name = ciEnv::current(thread)->get_symbol(name);
88 _signature = ciEnv::current(thread)->get_symbol(signature);
98 _type = ciEnv::current(thread)->get_klass_by_index(cpool, sig_index, ignore, klass);
103 _name = (ciSymbol*)ciEnv::current(thread)->get_symbol(name);
112 ciEnv::current(thread)->get_klass_by_index(cpool, holder_index,
/openjdk7/hotspot/src/share/vm/classfile/
H A Dplaceholders.cpp124 PlaceholderEntry* PlaceholderTable::find_and_add(int index, unsigned int hash, Symbol* name, Handle loader, classloadAction action, Symbol* supername, Thread* thread) { argument
136 if (probe) probe->add_seen_thread(thread, action);
145 // definer() tracks the single thread that owns define token
146 // defineThreadQ tracks waiters on defining thread's results
156 Symbol* name, Handle loader, Thread* thread) {
155 find_and_remove(int index, unsigned int hash, Symbol* name, Handle loader, Thread* thread) argument
/openjdk7/hotspot/src/share/vm/gc_implementation/shared/
H A DconcurrentGCThread.cpp166 static void _sltLoop(JavaThread* thread, TRAPS) { argument
167 SurrogateLockerThread* slt = (SurrogateLockerThread*)thread;
209 "unable to create new native thread");
227 assert(!Heap_lock->owned_by_self(), "Heap_lock owned by requesting thread");
291 "only a conc GC thread can call this" );
297 "only a conc GC thread can call this" );
303 "only a conc GC thread can call this" );
309 "only a conc GC thread can call this" );
/openjdk7/hotspot/src/share/vm/gc_interface/
H A DcollectedHeap.inline.hpp35 #include "runtime/thread.hpp"
234 HeapWord* CollectedHeap::allocate_from_tlab(KlassHandle klass, Thread* thread, size_t size) { argument
237 HeapWord* obj = thread->tlab().allocate(size);
242 return allocate_from_tlab_slow(klass, thread, size);
/openjdk7/jdk/src/share/classes/com/sun/jdi/
H A DObjectReference.java139 /** Perform method invocation with only the invoking thread resumed */
154 * The method invocation will occur in the specified thread.
155 * Method invocation can occur only if the specified thread
156 * has been suspended by an event which occurred in that thread.
159 * {@link VirtualMachine#suspend} or when the specified thread
208 * {@link ThreadReference#resume}, so if the thread's suspend
217 * if invokeMethod is called from the client's event handler thread. In this
218 * case, this thread will be waiting for the invokeMethod to complete and
223 * not be done from the client's event handler thread.
230 * Only the specified thread wil
271 invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DSoftJitterCorrector.java45 Thread thread; field in class:SoftJitterCorrector.JitterStream
218 thread = new Thread(runnable);
219 thread.setDaemon(true);
220 thread.setPriority(Thread.MAX_PRIORITY);
221 thread.start();
229 thread.join();
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/tty/
H A DEventHandler.java44 Thread thread; field in class:EventHandler
53 this.thread = new Thread(this, "event-handler");
54 this.thread.start();
59 thread.interrupt();
169 return ((ClassPrepareEvent)event).thread();
171 return ((LocatableEvent)event).thread();
173 return ((ThreadStartEvent)event).thread();
175 return ((ThreadDeathEvent)event).thread();
177 return ((VMStartEvent)event).thread();
184 ThreadReference thread;
198 setCurrentThread(ThreadReference thread) argument
[all...]
H A DThreadInfo.java54 private final ThreadReference thread; field in class:ThreadInfo
57 private ThreadInfo(ThreadReference thread) { argument
58 this.thread = thread;
59 if (thread == null) {
66 for (ThreadReference thread : Env.vm().allThreads()) {
67 threads.add(new ThreadInfo(thread));
73 static void addThread(ThreadReference thread) { argument
76 ThreadInfo ti = new ThreadInfo(thread);
78 // initialization when a particular thread migh
86 removeThread(ThreadReference thread) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/example/trace/
H A DEventThread.java55 static String nextBaseIndent = ""; // Starting indent for next thread
72 * Run the event handling thread.
127 // Make sure we sync on thread death
142 * This class keeps context on events in one thread.
146 final ThreadReference thread; field in class:EventThread.ThreadTrace
151 ThreadTrace(ThreadReference thread) { argument
152 this.thread = thread;
156 println("====== " + thread.name() + " ======");
186 StepRequest req = mgr.createStepRequest(thread,
221 threadTrace(ThreadReference thread) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DStackFrameImpl.java46 private final ThreadReferenceImpl thread; field in class:StackFrameImpl
52 StackFrameImpl(VirtualMachine vm, ThreadReferenceImpl thread, argument
55 this.thread = thread;
58 thread.addListener(this);
73 "Invalid stack frame thread listener");
94 * Return the thread holding the frame.
97 public ThreadReference thread() { method in class:StackFrameImpl
99 return thread;
106 (thread()
[all...]
/openjdk7/hotspot/src/cpu/zero/vm/
H A DmethodHandles_zero.cpp34 JavaThread *thread = (JavaThread *) THREAD; local
35 ZeroStack *stack = thread->zero_stack();
36 InterpreterFrame *frame = thread->top_zero_frame()->as_interpreter_frame();
51 JavaThread *thread = (JavaThread *) THREAD; local
52 InterpreterFrame *frame = thread->top_zero_frame()->as_interpreter_frame();
66 JavaThread *thread = (JavaThread *) THREAD; local
67 InterpreterFrame *frame = thread->top_zero_frame()->as_interpreter_frame();
97 JavaThread *thread = (JavaThread *) THREAD; local
98 InterpreterFrame *frame = thread->top_zero_frame()->as_interpreter_frame();
130 JavaThread *thread local
[all...]
/openjdk7/jdk/src/share/back/
H A DEventRequestImpl.c77 jthread thread; local
78 thread = inStream_readThreadRef(env, in);
82 eventFilter_setThreadOnlyFilter(node, i, thread));
183 jthread thread; local
186 thread = inStream_readThreadRef(env, in);
196 eventFilter_setStepFilter(node, i, thread, size, depth));
H A DThreadReferenceImpl.c38 jthread thread; local
42 thread = inStream_readThreadRef(env, in);
47 if (threadControl_isDebugThread(thread)) {
60 (gdata->jvmti, thread, &info);
80 jthread thread; local
82 thread = inStream_readThreadRef(getEnv(), in);
87 if (threadControl_isDebugThread(thread)) {
91 error = threadControl_suspendThread(thread, JNI_FALSE);
102 jthread thread; local
104 thread
128 jthread thread; local
155 jthread thread; local
194 validateSuspendedThread(PacketOutputStream *out, jthread thread) argument
220 jthread thread; local
319 jthread thread; local
350 jthread thread; local
399 jthread thread; local
441 jthread thread; local
471 jthread thread; local
495 jthread thread; local
521 jthread thread; local
573 jthread thread; local
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiClassFileReconstituter.hpp108 inline Thread* thread() { return _thread; } function in class:JvmtiClassFileReconstituter
H A DjvmtiThreadState.cpp43 // Instances of JvmtiThreadState hang off of each thread.
49 JvmtiThreadState::JvmtiThreadState(JavaThread* thread) argument
52 _thread = thread;
86 // The thread state list manipulation code must not have safepoints.
98 // set this as the state for the thread
99 thread->set_jvmti_thread_state(this);
106 // clear this as the state for the thread
109 // zap our env thread states
123 // The thread state list manipulation code must not have safepoints.
152 // For each environment thread stat
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DinterfaceSupport.cpp77 Thread *thread = Thread::current(); local
78 if (!thread->is_Java_thread()) return; // Avoid concurrent calls
79 // Check for new, not quite initialized thread. A thread in new mode cannot initiate a GC.
80 JavaThread *current_thread = (JavaThread *)thread;
84 if (thread->skip_gcalot()) return;
102 HandleMark hm(thread);
123 HandleMark hm(thread);
159 JavaThread* thread = JavaThread::current(); local
161 if (!thread
173 JavaThread* thread = JavaThread::current(); local
223 JavaThread *thread = JavaThread::current(); local
247 JavaThread* thread = JavaThread::current(); local
269 JavaThread* thread = JavaThread::current(); local
[all...]
H A DjavaCalls.hpp68 JavaThread* _thread; // the thread to which this call belongs
73 JavaFrameAnchor _anchor; // last thread anchor state that we must restore
83 JavaThread* thread() const { return _thread; } function in class:JavaCallWrapper
185 void verify(methodHandle method, BasicType return_type, Thread *thread);
196 static void call_default_constructor(JavaThread* thread, methodHandle method, Handle receiver, TRAPS);
H A DmutexLocker.hpp57 extern Mutex* JvmtiThreadState_lock; // a lock on modification of JVMTI thread data
81 extern Monitor* CMark_lock; // used for concurrent mark thread coordination
137 extern Monitor* Service_lock; // a lock used for service thread operation
160 // Print all mutexes/monitors that are currently owned by a thread; called
177 // Overloaded constructor passing current thread
178 MutexLocker(Monitor * mutex, Thread *thread) { argument
182 _mutex->lock(thread);
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkFunction.cpp60 Argument *thread = ai++; local
61 thread->setName("thread");
62 set_thread(thread);
H A DsharkNativeWrapper.cpp47 Argument *thread = ai++; local
48 thread->setName("thread");
49 set_thread(thread);
94 thread,
199 // Change the thread state to _thread_in_native
221 // Make sure new state is visible in the GC thread
250 thread,
263 builder()->check_special_condition_for_native_trans(), thread);
266 // Finally we can change the thread stat
[all...]
/openjdk7/jdk/test/com/sun/jdi/
H A DInvokeHangTest.java63 System.out.println("Debuggee: invokeee in thread "+Thread.currentThread().toString());
145 void doInvoke(ThreadReference thread, ObjectReference ref, String methodName) { argument
149 System.err.println(" Debugger: Invoking in thread" + thread);
150 ref.invokeMethod(thread, method, new ArrayList(), ref.INVOKE_NONVIRTUAL);
162 * This thread will watch for n secs to go by with no
180 * the other thread has hit a bkpt and the back-end is waiting
183 * the thread on which the invoke was done (because it is a SUSPEND_ALL bkpt),
192 ThreadReference thread = event.thread();
[all...]
/openjdk7/jdk/test/com/sun/nio/sctp/SctpServerChannel/
H A DAccept.java93 server.thread().interrupt();
100 /* wait for the server thread to finish */
101 join(server.thread(), 10000);
168 Thread thread() { method in class:Accept.AcceptServer
196 /* reset thread interrupt status */
262 void join(Thread thread, long millis) { try { thread.join(millis); } argument

Completed in 69 milliseconds

1234567891011>>