/openjdk7/jdk/test/java/lang/management/ManagementFactory/ |
H A D | ProxyTypeMapping.java | 46 private static ThreadMXBean thread; field in class:ProxyTypeMapping 54 thread = newPlatformMXBeanProxy(server, 187 long[] ids = thread.getAllThreadIds(); 188 ThreadInfo[] infos = thread.getThreadInfo(ids); 192 infos = thread.getThreadInfo(ids, 2); 197 ThreadInfo info = thread.getThreadInfo(id); 199 info = thread.getThreadInfo(id, 2);
|
H A D | ThreadMXBeanProxy.java | 49 static MyThread thread = new MyThread(); field in class:ThreadMXBeanProxy 60 thread.setDaemon(true); 61 thread.start(); 64 while (!(mutex.isLocked() && mutex.getLockOwner() == thread)) { 72 long[] ids = new long[] { thread.getId() }; 80 thread.checkThreadInfo(infos[0]); 88 thread.checkThreadInfo(infos[0]); 93 if (ti.getThreadId() == thread.getId()) { 94 thread.checkThreadInfo(ti);
|
H A D | ValidateOpenTypes.java | 48 private static ObjectName thread; field in class:ValidateOpenTypes 57 thread = new ObjectName(THREAD_MXBEAN_NAME); 208 long[] ids = (long[]) server.getAttribute(thread, "AllThreadIds"); 209 Object result = server.invoke(thread, 217 result = server.invoke(thread, 226 result = server.invoke(thread, 232 result = server.invoke(thread,
|
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/ |
H A D | MyOwnSynchronizer.java | 45 static MyThread thread = new MyThread(); field in class:MyOwnSynchronizer 52 thread.setDaemon(true); 53 thread.start(); 74 if (ti.getThreadId() == thread.getId()) { 75 thread.checkLockedSyncs(ti, syncs); 80 tinfos = mbean.getThreadInfo(new long[] {thread.getId()}, false, true); 91 thread.checkLockedSyncs(ti, ti.getLockedSynchronizers());
|
/openjdk7/jdk/src/share/demo/jvmti/hprof/ |
H A D | hprof_tracker.c | 118 (JNIEnv *env, jclass clazz, jobject thread, jobject obj) 121 event_newarray(env, thread, obj); 132 (JNIEnv *env, jclass clazz, jobject thread, jobject obj) 135 event_object_init(env, thread, obj); 146 (JNIEnv *env, jclass clazz, jobject thread, jint cnum, jint mnum) 149 event_call(env, thread, cnum, mnum); 160 (JNIEnv *env, jclass clazz, jobject thread, jint cnum, jint mnum) 163 event_return(env, thread, cnum, mnum); 117 Tracker_nativeNewArray(JNIEnv *env, jclass clazz, jobject thread, jobject obj) argument 131 Tracker_nativeObjectInit(JNIEnv *env, jclass clazz, jobject thread, jobject obj) argument 145 Tracker_nativeCallSite(JNIEnv *env, jclass clazz, jobject thread, jint cnum, jint mnum) argument 159 Tracker_nativeReturnSite(JNIEnv *env, jclass clazz, jobject thread, jint cnum, jint mnum) argument
|
/openjdk7/jdk/src/share/demo/jvmti/waiters/ |
H A D | waiters.cpp | 109 vm_init(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument 120 agent = new Agent(jvmti, env, thread); 173 thread_start(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument 177 get_agent(jvmti)->thread_start(jvmti, env, thread); 182 thread_end(jvmtiEnv *jvmti, JNIEnv *env, jthread thread) argument 186 get_agent(jvmti)->thread_end(jvmti, env, thread); 192 jthread thread, jobject object) 197 thread, object); 203 jthread thread, jobject object) 208 thread, objec 191 monitor_contended_enter(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object) argument 202 monitor_contended_entered(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object) argument 213 monitor_wait(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object, jlong timeout) argument 224 monitor_waited(jvmtiEnv* jvmti, JNIEnv *env, jthread thread, jobject object, jboolean timed_out) argument [all...] |
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/ |
H A D | SinkChannelImpl.java | 49 // ID of native thread doing write, for signalling 50 private volatile long thread = 0; field in class:SinkChannelImpl 52 // Lock held by current reading thread 55 // Lock held by any thread that modifies the state fields declared below 89 long th = thread; 166 thread = NativeThread.current(); 172 thread = 0; 189 thread = NativeThread.current(); 195 thread = 0;
|
H A D | SourceChannelImpl.java | 49 // ID of native thread doing read, for signalling 50 private volatile long thread = 0; field in class:SourceChannelImpl 52 // Lock held by current reading thread 55 // Lock held by any thread that modifies the state fields declared below 89 long th = thread; 166 thread = NativeThread.current(); 172 thread = 0; 197 thread = NativeThread.current(); 203 thread = 0;
|
/openjdk7/hotspot/agent/src/os/bsd/ |
H A D | BsdDebuggerLocal.c | 124 jobject thread; local 129 thread = (*env)->CallObjectMethod(env, this_obj, getThreadForThreadId_ID, 134 (*env)->CallBooleanMethod(env, threadList, listAdd_ID, thread);
|
/openjdk7/hotspot/agent/src/os/linux/ |
H A D | LinuxDebuggerLocal.c | 123 jobject thread; local 128 thread = (*env)->CallObjectMethod(env, this_obj, getThreadForThreadId_ID, 133 (*env)->CallBooleanMethod(env, threadList, listAdd_ID, thread);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/ |
H A D | JavaThreadsPanel.java | 50 * threads as their native thread identifiers combined with their 104 * A splitpane panel which contains the thread table and the Thread Info. 105 * the thread info is toggleable 163 * Returns a flag to indicate if the thread info is visible 276 CachedThread thread = getRow(row); 279 return thread.getThreadID(); 281 return thread.getThreadName(); 324 statusBar.setMessage("Some thread crashes were encountered"); 326 statusBar.setMessage("No thread crashes encountered"); 333 // Cached data for a thread 335 private JavaThread thread; field in class:JavaThreadsPanel.CachedThread 340 CachedThread(JavaThread thread) argument [all...] |
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | FutureTask.java | 105 /** The thread running the callable; CASed during run() */ 351 volatile Thread thread; field in class:FutureTask.WaitNode 353 WaitNode() { thread = Thread.currentThread(); } 365 Thread t = q.thread; 367 q.thread = null; 406 q.thread = null; 441 node.thread = null; 446 if (q.thread != null) 450 if (pred.thread == null) // check for race
|
H A D | TimeUnit.java | 332 * @param thread the thread to wait for 337 public void timedJoin(Thread thread, long timeout) argument 342 thread.join(ms, ns);
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | ReentrantLock.java | 47 * <p>A {@code ReentrantLock} is <em>owned</em> by the thread last 48 * successfully locking, but not yet unlocking it. A thread invoking 50 * the lock is not owned by another thread. The method will return 51 * immediately if the current thread already owns the lock. This can 58 * thread. Otherwise this lock does not guarantee any particular 64 * fairness of thread scheduling. Thus, one of many threads using a 103 * the same thread. Attempts to exceed this limit result in 167 // we don't need to do so to check if current thread is owner 278 * <p>Acquires the lock if it is not held by another thread and returns 281 * <p>If the current thread alread 651 hasQueuedThread(Thread thread) argument [all...] |
/openjdk7/hotspot/src/share/vm/classfile/ |
H A D | loaderConstraints.cpp | 436 Thread *thread = Thread::current(); local 445 Handle loader(thread, ik->class_loader());
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | vtableStubs.cpp | 69 // JvmtiDynamicCodeEventCollector and posted when this thread has released 200 extern "C" void bad_compiled_vtable_index(JavaThread* thread, oop receiver, int index) { argument
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | dirtyCardQueue.cpp | 31 #include "runtime/thread.hpp" 136 JavaThread* thread = JavaThread::current(); local 138 // We get the the number of any par_id that this thread 140 int worker_i = thread->get_claimed_par_id(); 142 // If worker_i is not -1 then the thread has already claimed 151 // And store the par_id value in the thread 152 thread->set_claimed_par_id(worker_i); 168 // and set the claimed_id in the thread to -1 169 thread->set_claimed_par_id(-1);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/ |
H A D | gcTaskManager.cpp | 442 thread(s)->start(); 455 GCTaskThread::destroy(thread(i)); 559 GCTaskThread* t = thread(i); 567 thread(i)->print_on(st); 576 tc->do_thread(thread(i)); 580 GCTaskThread* GCTaskManager::thread(uint which) { function in class:GCTaskManager 582 assert(_thread[which] != NULL, "shouldn't have null thread"); 588 assert(value != NULL, "shouldn't have null thread"); 693 // If we are blocked, check if the completing thread is the blocker. 759 // This can be done without a lock because each thread read [all...] |
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | interpreter.cpp | 333 Thread *thread = Thread::current(); local 334 ResourceMark rm(thread); 335 methodHandle mh(thread, method); 347 Thread *thread = Thread::current(); local 348 ResourceMark rm(thread); 349 methodHandle mh(thread, method); 364 Thread *thread = Thread::current(); local 365 ResourceMark rm(thread); 366 methodHandle mh(thread, method);
|
/openjdk7/hotspot/src/share/vm/oops/ |
H A D | instanceRefKlass.cpp | 509 bool instanceRefKlass::owns_pending_list_lock(JavaThread* thread) { argument 511 Handle h_lock(thread, java_lang_ref_Reference::pending_list_lock()); 512 return ObjectSynchronizer::current_thread_holds_lock(thread, h_lock);
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | generateOptoStub.cpp | 82 // Get base of thread-local storage area 83 Node* thread = _gvn.transform( new (C) ThreadLocalNode() ); local 88 thread, 93 thread, 104 Node *adr_sp = basic_plus_adr(top(), thread, in_bytes(JavaThread::last_Java_sp_offset())); 114 Node* adr_state = basic_plus_adr(top(), thread, in_bytes(JavaThread::thread_state_offset())); 120 // The C routines gets the base of thread-local storage passed in as an 181 call->init_req( cnt++, thread ); 227 Node* adr_last_Java_fp = basic_plus_adr(top(), thread, in_bytes(JavaThread::last_Java_fp_offset())); 236 Node* adr = basic_plus_adr(top(), thread, in_byte [all...] |
/openjdk7/jdk/src/share/classes/com/sun/jdi/request/ |
H A D | EventRequestManager.java | 219 * <code>thread</code>; all other threads will be unaffected. 237 * Only one pending step request is allowed per thread. 254 * @param thread the thread in which to step 259 * step request for the specified thread. 263 StepRequest createStepRequest(ThreadReference thread, argument 341 * done in the same thread as event sets are being read, 428 * Return an unmodifiable list of the enabled and disabled thread start requests. 436 * Return an unmodifiable list of the enabled and disabled thread death requests.
|
/openjdk7/jdk/src/share/classes/com/sun/media/sound/ |
H A D | EventDispatcher.java | 66 private Thread thread = null; field in class:EventDispatcher 86 * This start() method starts an event thread if one is not already active. 90 if(thread == null) { 91 thread = JSSecurityManager.createThread(this,
|
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/ |
H A D | CommandTool.java | 305 // If the user selects a new current thread or frame, update prompt. 309 // Update prompt only if affect thread is current. 310 ThreadReference thread = e.getThread(); 311 if (thread == context.getCurrentThread()) { 312 script.setPrompt(promptString(thread, e.getIndex())); 320 return "thread=\"" + e.getThread().name() + 328 //### Current thread should be set elsewhere, e.g., 330 //### context.setCurrentThread(thread); 334 private String promptString(ThreadReference thread, int frameIndex) { argument 335 if (thread [all...] |
H A D | ThreadTreeTool.java | 49 //### Bug: If the name of a thread is changed via Thread.setName(), the 50 //### thread tree view does not reflect this. The name of the thread at 99 // If user clicks on leaf, select it, and issue 'thread' command. 102 interpreter.executeCommand("thread " + 127 private List<String> threadPath(ThreadReference thread) { argument 130 l.add(0, thread.name()); 131 ThreadGroupReference group = thread.threadGroup(); 147 for (ThreadReference thread : runtime.allThreads()) { 148 root.addThread(thread); 193 ThreadReference thread; // null if thread group field in class:ThreadTreeTool.ThreadTreeNode 197 ThreadTreeNode(String name, ThreadReference thread) argument 238 addThread(ThreadReference thread) argument 263 addThread(List<String> threadPath, ThreadReference thread) argument 278 insertNode(String name, ThreadReference thread) argument 298 removeThread(ThreadReference thread) argument 307 removeThread(List<String> threadPath, ThreadReference thread) argument 327 findLeafNode(ThreadReference thread, String name) argument [all...] |