/openjdk7/hotspot/src/os_cpu/bsd_zero/vm/ |
H A D | threadLS_bsd_zero.hpp | 31 static Thread* thread() { 32 return (Thread*) os::thread_local_storage_at(thread_index());
|
/openjdk7/hotspot/src/os_cpu/linux_sparc/vm/ |
H A D | threadLS_linux_sparc.hpp | 29 static Thread* thread() { 30 return (Thread*) os::thread_local_storage_at(thread_index());
|
/openjdk7/hotspot/src/os_cpu/linux_zero/vm/ |
H A D | threadLS_linux_zero.hpp | 31 static Thread* thread() { 32 return (Thread*) os::thread_local_storage_at(thread_index());
|
/openjdk7/hotspot/src/os_cpu/windows_x86/vm/ |
H A D | threadLS_windows_x86.hpp | 36 // Java Thread 37 static inline Thread* thread() { 38 return (Thread*)TlsGetValue(thread_index()); 41 static inline Thread* get_thread() { 42 return (Thread*)TlsGetValue(thread_index());
|
/openjdk7/jdk/test/java/lang/ThreadGroup/ |
H A D | Suspend.java | 35 private static final Thread first = new Thread(group, new Suspend()); 36 private static final Thread second = new Thread(group, new Suspend()); 41 Thread.sleep(100); 42 if (Thread.currentThread() == first) { 61 Thread.sleep(100); 63 Thread.sleep(1000); 67 Thread.sleep(1000);
|
H A D | Stop.java | 36 private static final Thread first = new Thread(group, new Stop()); 37 private static final Thread second = new Thread(group, new Stop()); 43 Thread.sleep(1000); 48 if (Thread.currentThread() == first) { 73 Thread.sleep(1000);
|
/openjdk7/hotspot/src/os_cpu/linux_x86/vm/ |
H A D | threadLS_linux_x86.hpp | 36 static Thread* _sp_map[1UL << (SP_BITLENGTH - PAGE_SHIFT)]; 40 static Thread** sp_map_addr() { return _sp_map; } 42 static Thread* thread() { 52 static Thread* thread() { 53 return (Thread*) os::thread_local_storage_at(thread_index());
|
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | Mutex.java | 30 private Thread owner; 33 if (locked && Thread.currentThread() == owner) { 39 owner = Thread.currentThread(); 47 } while (owner != Thread.currentThread()); 51 if (Thread.currentThread() != owner) { 60 return (locked && Thread.currentThread() == owner);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | MyThreadFactory.java | 29 private static final Set<Thread> threads = new HashSet<Thread>(); 31 static boolean created(Thread t) { 41 public Thread newThread(Runnable r) { 42 Thread t = new Thread(r);
|
/openjdk7/hotspot/src/os_cpu/solaris_sparc/vm/ |
H A D | threadLS_solaris_sparc.cpp | 41 void ThreadLocalStorage::set_thread_in_slot (Thread * self) {} 43 extern "C" Thread* get_thread() {
|
H A D | threadLS_solaris_sparc.hpp | 29 // Java Thread - force inlining 30 static inline Thread* thread() ; 33 static Thread* _get_thread_cache[]; // index by [(raw_id>>9)^(raw_id>>20) % _pd_cache_size] 34 static Thread* get_thread_via_cache_slowly(uintptr_t raw_id, int index); 48 static void set_thread_in_slot (Thread *) ;
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/ |
H A D | ThreadFactory.java | 40 * removes hardwiring of calls to {@link Thread#Thread(Runnable) new Thread}, 47 * public Thread newThread(Runnable r) { 48 * return new Thread(r); 62 * Constructs a new {@code Thread}. Implementations may also initialize 69 Thread newThread(Runnable r);
|
/openjdk7/hotspot/src/os_cpu/bsd_x86/vm/ |
H A D | threadLS_bsd_x86.hpp | 37 static Thread* _sp_map[1UL << (SP_BITLENGTH - PAGE_SHIFT)]; 43 static Thread** sp_map_addr() { return _sp_map; } 46 static Thread* thread() { 48 return (Thread*) os::thread_local_storage_at(thread_index());
|
/openjdk7/jdk/make/tools/reorder/tests/ |
H A D | Sleep.java | 32 Thread.sleep(5000);
|
/openjdk7/jdk/test/java/lang/Thread/ |
H A D | MainThreadTest.java | 32 ThreadGroup tg = Thread.currentThread().getThreadGroup(); 34 Thread[] ts = new Thread[n]; 37 if (Thread.currentThread() == ts[i]) {
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | Interruptible.java | 34 public void interrupt(Thread t);
|
/openjdk7/hotspot/src/share/vm/utilities/ |
H A D | preserveException.hpp | 45 Thread* _thread; 51 PreserveExceptionMark(Thread*& thread); 61 Thread* _thread; 67 CautiouslyPreserveExceptionMark(Thread* thread); 77 Thread* _thread; 86 WeakPreserveExceptionMark(Thread* pThread) : _thread(pThread), _preserved_exception_oop() { 102 #define PRESERVE_EXCEPTION_MARK Thread* THREAD; PreserveExceptionMark __em(THREAD);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousChannelGroup/ |
H A D | PrivilegedThreadFactory.java | 40 public Thread newThread(final Runnable r) { 41 return AccessController.doPrivileged(new PrivilegedAction<Thread>() { 43 public Thread run() { 44 Thread t = new Thread(r);
|
/openjdk7/jdk/test/java/lang/System/finalization/ |
H A D | FinThreads.java | 33 static Thread mainThread; 36 static Thread finalizerThread = null; 37 static Thread finalizedBy = null; 50 Thread t = new Thread(new Runnable() { 67 finalizerThread = Thread.currentThread(); 73 Thread.sleep(Long.MAX_VALUE); 77 finalizedBy = Thread.currentThread(); 86 static void alarm(final Thread sleeper, final long delay) 89 Thread [all...] |
/openjdk7/hotspot/test/runtime/7158988/ |
H A D | TestPostFieldModification.java | 32 new Thread() { 43 Thread d = new Thread() { 47 Thread.sleep(100);
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | threadLocalStorage.hpp | 35 extern "C" Thread* get_thread(); 42 static void set_thread(Thread* thread); 43 static Thread* get_thread_slow(); 95 static void pd_set_thread(Thread* thread);
|
/openjdk7/jdk/test/java/util/Timer/ |
H A D | KillThread.java | 35 final Thread[] tdThread = new Thread[1]; 41 tdThread[0] = Thread.currentThread(); 49 Thread.sleep(100);
|
/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/ |
H A D | AbstractOwnableSynchronizer.java | 64 private transient Thread exclusiveOwnerThread; 72 protected final void setExclusiveOwnerThread(Thread t) { 83 protected final Thread getExclusiveOwnerThread() {
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/ |
H A D | ThreadControllerWrapper.java | 35 public static Thread runThread(Runnable runnable, int priority) 40 public static void waitThread(Thread worker, Runnable task) 47 * Thread controller utility class for incremental SAX source. Must 58 final class SafeThread extends Thread { 66 if (Thread.currentThread() != this) { 96 public Thread run(Runnable task, int priority) 99 Thread t = new SafeThread(task); 117 public void waitThread(Thread worker, Runnable task)
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | ApplicationShutdownHooks.java | 39 private static IdentityHashMap<Thread, Thread> hooks; 64 static synchronized void add(Thread hook) { 80 static synchronized boolean remove(Thread hook) { 95 Collection<Thread> threads; 101 for (Thread hook : threads) { 104 for (Thread hook : threads) {
|