Searched defs:thread (Results 201 - 225 of 379) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DClassTypeImpl.java162 PacketStream sendInvokeCommand(final ThreadReferenceImpl thread, argument
170 vm, ClassTypeImpl.this, thread,
177 stream = thread.sendResumingCommand(sender);
184 PacketStream sendNewInstanceCommand(final ThreadReferenceImpl thread, argument
192 vm, ClassTypeImpl.this, thread,
199 stream = thread.sendResumingCommand(sender);
217 ThreadReferenceImpl thread = (ThreadReferenceImpl)threadIntf;
227 sendInvokeCommand(thread, method, args, options);
265 ThreadReferenceImpl thread = (ThreadReferenceImpl)threadIntf;
275 sendNewInstanceCommand(thread, metho
[all...]
H A DObjectReferenceImpl.java335 PacketStream sendInvokeCommand(final ThreadReferenceImpl thread, argument
345 thread, refType,
352 stream = thread.sendResumingCommand(sender);
370 ThreadReferenceImpl thread = (ThreadReferenceImpl)threadIntf;
375 return type.invokeMethod(thread, method, origArguments, options);
390 sendInvokeCommand(thread, invokableReferenceType(method),
/openjdk7/hotspot/src/cpu/zero/vm/
H A Dframe_zero.cpp100 void frame::patch_pc(Thread* thread, address pc) { argument
101 // We borrow this call to set the thread pointer in the interpreter
104 get_interpreterState()->set_thread((JavaThread *) thread);
107 bool frame::safe_for_sender(JavaThread *thread) { argument
114 bool frame::is_interpreted_frame_valid(JavaThread *thread) const {
/openjdk7/hotspot/src/os/windows/vm/
H A DattachListener_windows.cpp34 // The AttachListener thread services a queue of operations. It blocks in the dequeue
36 // a thread in this process using the Win32 CreateRemoteThread function. That thread
39 // the operation to the queue serviced by the attach listener. The thread created by
40 // the client is a native thread and is restricted to a single page of stack. To keep
51 // client could potentially hang the attach listener thread indefinitely. In that
179 // Enqueue an operation. This is called from a native thread that is not attached to VM.
223 // wakeup the thread waiting for operations
304 JavaThread* thread = JavaThread::current(); local
305 ThreadBlockInVM tbivm(thread);
346 JavaThread* thread = JavaThread::current(); local
[all...]
/openjdk7/jdk/src/share/back/
H A Dinvoker.c217 jthread thread, jclass clazz, jmethodID method,
274 invoker_enableInvokeRequests(jthread thread) argument
278 JDI_ASSERT(thread);
280 request = threadControl_getInvokeRequest(thread);
282 EXIT_ERROR(AGENT_ERROR_INVALID_THREAD, "getting thread invoke request");
290 jthread thread, jclass clazz, jmethodID method,
299 request = threadControl_getInvokeRequest(thread);
302 thread, clazz, method, instance,
309 /* true means it is okay to unblock the commandLoop thread */
310 (void)threadControl_resumeThread(thread, JNI_TRU
215 fillInvokeRequest(JNIEnv *env, InvokeRequest *request, jbyte invokeType, jbyte options, jint id, jthread thread, jclass clazz, jmethodID method, jobject instance, jvalue *arguments, jint argumentCount) argument
289 invoker_requestInvoke(jbyte invokeType, jbyte options, jint id, jthread thread, jclass clazz, jmethodID method, jobject instance, jvalue *arguments, jint argumentCount) argument
605 invoker_doInvoke(jthread thread) argument
670 invoker_completeInvokeRequest(jthread thread) argument
742 invoker_isPending(jthread thread) argument
755 invoker_isEnabled(jthread thread) argument
[all...]
H A DstepControl.c36 getFrameCount(jthread thread) argument
42 (gdata->jvmti, thread, &count);
59 * per thread.
62 enableStepping(jthread thread) argument
66 LOG_STEP(("enableStepping: thread=%p", thread));
69 thread);
76 disableStepping(jthread thread) argument
80 LOG_STEP(("disableStepping: thread=%p", thread));
90 getFrameLocation(jthread thread, jclass *pclazz, jmethodID *pmethod, jlocation *plocation) argument
130 findLineNumber(jthread thread, jlocation location, jvmtiLineNumberEntry *lines, jint count) argument
166 initState(JNIEnv *env, jthread thread, StepRequest *step) argument
266 jthread thread = evinfo->thread; local
369 jthread thread = evinfo->thread; local
436 jthread thread; local
486 completeStep(JNIEnv *env, jthread thread, StepRequest *step) argument
512 stepControl_handleStep(JNIEnv *env, jthread thread, jclass clazz, jmethodID method) argument
700 stepControl_resetRequest(jthread thread) argument
727 initEvents(jthread thread, StepRequest *step) argument
788 stepControl_beginStep(JNIEnv *env, jthread thread, jint size, jint depth, HandlerNode *node) argument
851 clearStep(jthread thread, StepRequest *step) argument
880 stepControl_endStep(jthread thread) argument
910 stepControl_clearRequest(jthread thread, StepRequest *step) argument
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Dforte.cpp34 #include "runtime/thread.hpp"
68 static bool is_decipherable_compiled_frame(JavaThread* thread, frame* fr, nmethod* nm);
69 static bool is_decipherable_interpreted_frame(JavaThread* thread,
134 static bool is_decipherable_compiled_frame(JavaThread* thread, frame* fr, nmethod* nm) { argument
137 if (thread->has_last_Java_frame() && thread->last_Java_pc() == fr->pc()) {
179 static bool is_decipherable_interpreted_frame(JavaThread* thread, argument
188 // Because we may be racing a gc thread the method and/or bci
190 // fail the is_interpreted_frame_valid test. If the thread
194 JavaThreadState state = thread
250 find_initial_Java_frame(JavaThread* thread, frame* fr, frame* initial_frame_p, methodOop* method_p, int* bci_p) argument
525 JavaThread* thread; local
[all...]
H A DjvmtiEnvThreadState.cpp129 JvmtiEnvThreadState::JvmtiEnvThreadState(JavaThread *thread, JvmtiEnvBase *env) : argument
131 _thread = thread;
148 // maintain the current JVMTI location on a per-thread per-env basis
197 "frame pop data only accessible from same thread or while suspended");
216 "frame pop data only accessible from same thread or while suspended");
227 "frame pop data only accessible from same thread or while suspended");
238 "frame pop data only accessible from same thread or while suspended");
249 "frame pop data only accessible from same thread or while suspended");
265 VM_GetCurrentLocation(JavaThread *thread) { argument
266 _thread = thread;
[all...]
H A DjvmtiGetLoadedClasses.cpp29 #include "runtime/thread.hpp"
37 // we use a thread-local slot to hold a pointer to
46 // Getting and setting the thread local pointer
49 JavaThread* thread = JavaThread::current(); local
50 result = thread->get_jvmti_get_loaded_classes_closure();
54 JavaThread* thread = JavaThread::current(); local
55 thread->set_jvmti_get_loaded_classes_closure(that);
H A DjvmtiTrace.cpp256 // return a valid string no matter what state the thread is in
257 const char *JvmtiTrace::safe_get_thread_name(Thread *thread) { argument
258 if (thread == NULL) {
261 if (!thread->is_Java_thread()) {
262 return thread->name();
264 JavaThread *java_thread = (JavaThread *)thread;
277 // return the name of the current thread
/openjdk7/hotspot/src/share/vm/runtime/
H A Dhandles.hpp35 // simply an extra indirection allocated in a thread local handle area.
47 // Handle h2(thread, obj); // faster allocation when current thread is known
88 Handle(Thread* thread, oop obj);
90 // Don't inline body with assert for current thread
91 Handle(Thread* thread, oop obj);
139 KlassHandle (Thread* thread, oop obj) : Handle(thread, obj) { argument
142 KlassHandle (Thread *thread, Klass* kl) argument
143 : Handle(thread, k
325 HandleMark(Thread* thread) argument
[all...]
H A DsimpleThresholdPolicy.cpp185 int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) {
188 thread->is_interp_only_mode()) {
203 method_invocation_event(method, inlinee, comp_level, nm, thread);
205 method_back_branch_event(method, inlinee, bci, comp_level, nm, thread);
216 void SimpleThresholdPolicy::compile(methodHandle mh, int bci, CompLevel level, JavaThread* thread) { argument
227 compile(mh, bci, CompLevel_simple, thread);
238 submit_compile(mh, bci, level, thread);
243 void SimpleThresholdPolicy::submit_compile(methodHandle mh, int bci, CompLevel level, JavaThread* thread) { argument
245 CompileBroker::compile_method(mh, bci, level, mh, hot_count, "tiered", thread);
372 CompLevel level, nmethod* nm, JavaThread* thread) {
184 event(methodHandle method, methodHandle inlinee, int branch_bci, int bci, CompLevel comp_level, nmethod* nm, JavaThread* thread) argument
371 method_invocation_event(methodHandle mh, methodHandle imh, CompLevel level, nmethod* nm, JavaThread* thread) argument
383 method_back_branch_event(methodHandle mh, methodHandle imh, int bci, CompLevel level, nmethod* nm, JavaThread* thread) argument
[all...]
H A Dvframe_hp.cpp62 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = thread()->deferred_locals();
133 GrowableArray<jvmtiDeferredLocalVariableSet*>* deferred = thread()->deferred_locals();
155 // No deferred updates pending for this thread.
158 thread()->set_deferred_locals(deferred);
241 compiledVFrame::compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, nmethod* nm) argument
242 : javaVFrame(fr, reg_map, thread) {
251 compiledVFrame::compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, ScopeDesc* scope) argument
252 : javaVFrame(fr, reg_map, thread) {
317 : new compiledVFrame(&f, register_map(), thread(), scope()->sender());
H A Dvm_operations.cpp58 void VM_Operation::set_calling_thread(Thread* thread, ThreadPriority priority) { argument
59 _calling_thread = thread;
95 st->print(", requested by thread " PTR_FORMAT, calling_thread());
101 JavaThread* target = java_lang_Thread::thread(target_thread());
103 // thrown at a thread.
105 // the thread has run and is not already in the process of exiting
123 VM_DeoptimizeFrame::VM_DeoptimizeFrame(JavaThread* thread, intptr_t* id) { argument
124 _thread = thread;
140 for (JavaThread* thread = Threads::first(); thread !
174 JavaThread *thread = (JavaThread *)calling_thread(); local
182 JavaThread *thread = (JavaThread *)calling_thread(); local
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A DattachListener.cpp139 // thread stacks
400 static void attach_listener_thread_entry(JavaThread* thread, TRAPS) { argument
401 os::set_priority(thread, NearMaxPriority);
403 thread->record_stack_base_and_size();
454 // Starts the Attach Listener thread
487 // Check that thread and osthread were created
490 "unable to create new native thread");
/openjdk7/hotspot/src/share/vm/utilities/
H A Devents.hpp30 #include "runtime/thread.hpp"
75 Thread* thread; member in class:EventLogBase::EventRecord
130 if (e.thread != NULL) {
131 out->print("Thread " INTPTR_FORMAT " ", e.thread);
151 void logv(Thread* thread, const char* format, va_list ap) { argument
157 _records[index].thread = thread;
162 void log(Thread* thread, const char* format, ...) { argument
165 logv(thread, format, ap);
196 static void log(Thread* thread, cons
208 log(Thread* thread, const char* format, ...) argument
217 log_exception(Thread* thread, const char* format, ...) argument
226 log_deopt_message(Thread* thread, const char* format, ...) argument
[all...]
H A Dexceptions.cpp78 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Handle h_exception) { argument
97 if (thread->is_VM_thread()
98 || thread->is_Compiler_thread() ) {
99 // We do not care what kind of exception we get for the vm-thread or a thread which
101 thread->set_pending_exception(Universe::vm_exception(), file, line);
108 bool Exceptions::special_exception(Thread* thread, const char* file, int line, Symbol* h_name, const char* message) { argument
120 if (thread->is_VM_thread()
121 || thread->is_Compiler_thread() ) {
122 // We do not care what kind of exception we get for the vm-thread o
132 _throw_oop(Thread* thread, const char* file, int line, oop exception) argument
138 _throw(Thread* thread, const char* file, int line, Handle h_exception, const char* message) argument
167 _throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_loader, Handle h_protection_domain) argument
177 _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause, Handle h_loader, Handle h_protection_domain) argument
186 _throw_cause(Thread* thread, const char* file, int line, Symbol* name, Handle h_cause, Handle h_loader, Handle h_protection_domain) argument
195 _throw_args(Thread* thread, const char* file, int line, Symbol* name, Symbol* signature, JavaCallArguments *args) argument
208 _throw_msg_cause(Thread* thread, const char* file, int line, Symbol* name, const char* message, Handle h_cause) argument
211 _throw_msg(Thread* thread, const char* file, int line, Symbol* name, const char* message) argument
214 _throw_cause(Thread* thread, const char* file, int line, Symbol* name, Handle h_cause) argument
236 fthrow(Thread* thread, const char* file, int line, Symbol* h_name, const char* format, ...) argument
249 new_exception(Thread *thread, Symbol* name, Symbol* signature, JavaCallArguments *args, Handle h_loader, Handle h_protection_domain) argument
294 new_exception(Thread *thread, Symbol* name, Symbol* signature, JavaCallArguments *args, Handle h_cause, Handle h_loader, Handle h_protection_domain) argument
325 new_exception(Thread* thread, Symbol* name, Handle h_cause, Handle h_loader, Handle h_protection_domain, ExceptionMsgToUtf8Mode to_utf8_safe) argument
342 new_exception(Thread* thread, Symbol* name, const char* message, Handle h_cause, Handle h_loader, Handle h_protection_domain, ExceptionMsgToUtf8Mode to_utf8_safe) argument
393 new_exception(Thread* thread, Symbol* name, const char* message, ExceptionMsgToUtf8Mode to_utf8_safe) argument
406 ExceptionMark(Thread*& thread) argument
[all...]
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DCommUp.java91 /* store the main thread so that the server can interrupt it, if necessary */
190 server.thread().interrupt();
226 Thread thread() { method in class:CommUp.CommUpServer
/openjdk7/jdk/test/java/lang/instrument/
H A DTransformerManagementThreadAddTests.java27 * @summary multi-thread test to exercise sync and contention for adds to transformer registry
61 * MIN_TRANS: the minimum number of transformers to add by a thread
62 * MAX_TRANS: the maximum number of transformers to add by a thread
64 * Each thread will add between MIN_TRANS and MAX_TRANS transformers
86 // transformers for a specific worker thread are in
144 // Effective Java - Item 51: Don't depend on the thread scheduler
168 * Returns the execution thread
177 * Sets the execution thread
178 * @param exec The execution thread to set
339 createTransformer(TransformerThread thread, in argument
439 ThreadTransformer(Thread thread, int index) argument
[all...]
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DThreadStackTrace.java85 System.out.println("Checking stack trace for the examiner thread " +
91 // Check that the stack is returned correctly for a new thread
94 System.out.println("Now starting the blocked thread");
106 // Check that the stack is returned correctly for a terminated thread
160 // give a chance for the examiner thread to really wait
167 // give a chance for the examiner thread to really wait
207 // Wait and let examiner thread check the mbean
232 public void setThread(BlockedThread thread) { argument
233 blockedThread = thread;
244 // give a chance for the examiner thread t
[all...]
/openjdk7/jdk/src/share/demo/jvmti/heapViewer/
H A DheapViewer.c203 vmInit(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_event.c50 /* Return a TraceIndex for the given thread. */
137 event_object_init(JNIEnv *env, jthread thread, jobject object) argument
148 HPROF_ASSERT(thread!=NULL);
151 /* Prevent recursion into any BCI function for this thread (pstatus). */
152 if ( tls_get_tracker_status(env, thread, JNI_TRUE,
162 event_newarray(JNIEnv *env, jthread thread, jobject object) argument
173 HPROF_ASSERT(thread!=NULL);
176 /* Prevent recursion into any BCI function for this thread (pstatus). */
177 if ( tls_get_tracker_status(env, thread, JNI_FALSE,
187 event_call(JNIEnv *env, jthread thread, ClassInde argument
215 event_exception_catch(JNIEnv *env, jthread thread, jmethodID method, jlocation location, jobject exception) argument
240 event_return(JNIEnv *env, jthread thread, ClassIndex cnum, MethodIndex mnum) argument
268 event_class_prepare(JNIEnv *env, jthread thread, jclass klass, jobject loader) argument
286 event_class_load(JNIEnv *env, jthread thread, jclass klass, jobject loader) argument
357 event_thread_start(JNIEnv *env, jthread thread) argument
421 event_thread_end(JNIEnv *env, jthread thread) argument
[all...]
H A Dhprof_monitor.c48 * The tls table (or thread table) will be used to store the monitor in
335 monitor_contended_enter_event(JNIEnv *env, jthread thread, jobject object) argument
342 HPROF_ASSERT(thread!=NULL);
345 tls_index = tls_find_or_create(env, thread);
354 monitor_contended_entered_event(JNIEnv* env, jthread thread, jobject object) argument
362 HPROF_ASSERT(thread!=NULL);
364 tls_index = tls_find_or_create(env, thread);
375 monitor_wait_event(JNIEnv *env, jthread thread, jobject object, jlong timeout) argument
384 HPROF_ASSERT(thread!=NULL);
386 tls_index = tls_find_or_create(env, thread);
402 monitor_waited_event(JNIEnv *env, jthread thread, jobject object, jboolean timed_out) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/minst/
H A Dminst.c128 cbVMInit(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument
/openjdk7/jdk/src/share/demo/management/MemoryMonitor/
H A DMemoryMonitor.java116 public Thread thread; field in class:MemoryMonitor.Surface
142 if (thread == null) start(); else stop();
329 thread = new Thread(this);
330 thread.setPriority(Thread.MIN_PRIORITY);
331 thread.setName("MemoryMonitor");
332 thread.start();
337 thread = null;
346 while (thread == me && !isShowing() || getSize().width == 0) {
352 while (thread == me && isShowing()) {
372 thread
[all...]

Completed in 83 milliseconds

1234567891011>>