Searched refs:ParkEvent (Results 1 - 13 of 13) sorted by relevance

/openjdk7/hotspot/src/share/vm/runtime/
H A Dpark.hpp38 * new threads. This parallels the ParkEvent implementation.
43 * ParkEvent instead. There's considerable duplication between the two
81 // Lifecycle: Once a ParkEvent is associated with a thread that ParkEvent remains
83 // stable. A thread will be associated at most one ParkEvent. When the thread
84 // expires, the ParkEvent moves to the EventFreeList. New threads attempt to allocate from
87 // (A reference to ParkEvent is always valid, even though the event may no longer be associated
91 // Only the "associated" thread can block (park) on the ParkEvent, although
103 // The base-class, PlatformEvent, is platform-specific while the ParkEvent is
106 // as part of a ParkEvent
118 class ParkEvent : public os::PlatformEvent { class in inherits:os::PlatformEvent
154 ParkEvent() : PlatformEvent() { function in class:ParkEvent
[all...]
H A Dpark.cpp47 // Note that we could defer associating a ParkEvent with a thread
50 // for a thread would allocate and associate a ParkEvent and return
53 volatile int ParkEvent::ListLock = 0 ;
54 ParkEvent * volatile ParkEvent::FreeList = NULL ;
56 ParkEvent * ParkEvent::Allocate (Thread * t) {
58 ParkEvent * ev ;
61 // ParkEvent from the global free list.
75 ParkEvent * Lis
[all...]
H A Dmutex.hpp35 // a ParkEvent is always 0. Colocating the lock-byte with the queue
77 class ParkEvent ;
116 // I use ParkEvent instead of threads as ParkEvents are immortal and
126 ParkEvent * volatile _EntryList ; // List of threads waiting for entry
127 ParkEvent * volatile _OnDeck ; // heir-presumptive
129 ParkEvent * volatile _WaitSet ; // LL of ParkEvents
167 int AcquireOrPush (ParkEvent * ev) ;
H A Dmutex.cpp102 // I use ParkEvent instead of threads as ParkEvents are immortal and
225 // stack acts as a local cache to avoid excessive calls to ParkEvent::Allocate()
228 // push the no-longer-needed ParkEvent back onto its stack.
252 // We should also add DTRACE probes in the ParkEvent subsystem for
416 static int ParkCommon (ParkEvent * ev, jlong timo) {
431 inline int Monitor::AcquireOrPush (ParkEvent * ESelf) {
440 ESelf->ListNext = (ParkEvent *) (v & ~_LBIT) ;
465 ParkEvent * const ESelf = Self->_MutexEvent ;
546 ParkEvent * const w = _OnDeck ;
591 ParkEvent * Lis
[all...]
H A Dthread.cpp276 // The stack would act as a cache to avoid calls to ParkEvent::Allocate()
278 _ParkEvent = ParkEvent::Allocate (this) ;
279 _SleepEvent = ParkEvent::Allocate (this) ;
280 _MutexEvent = ParkEvent::Allocate (this) ;
281 _MuxEvent = ParkEvent::Allocate (this) ;
357 ParkEvent::Release (_ParkEvent) ; _ParkEvent = NULL ;
358 ParkEvent::Release (_SleepEvent) ; _SleepEvent = NULL ;
359 ParkEvent::Release (_MutexEvent) ; _MutexEvent = NULL ;
360 ParkEvent::Release (_MuxEvent) ; _MuxEvent = NULL ;
4363 // Based on ParkEvent
[all...]
H A Dthread.hpp66 class ParkEvent;
614 ParkEvent * _ParkEvent ; // for synchronized()
615 ParkEvent * _SleepEvent ; // for Thread.sleep
616 ParkEvent * _MutexEvent ; // for native internal Mutex/Monitor
617 ParkEvent * _MuxEvent ; // for low-level muxAcquire-muxRelease
639 static void muxAcquireW (volatile intptr_t * Lock, ParkEvent * ev) ;
H A DobjectMonitor.hpp34 // ParkEvent instead. Beware, however, that the JVMTI code
46 ParkEvent * _event;
H A DobjectMonitor.cpp1317 ParkEvent * Trigger = Wakee->_event ;
1758 ParkEvent * ev = iterator->_event ;
1882 ParkEvent * ev = iterator->_event ;
1917 // on a thread-specific variable such as its ParkEvent._Event flag.
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiRawMonitor.cpp167 ParkEvent * ev = w->_event ;
244 ParkEvent * ev = NULL ; // consider using a small auto array ...
/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.cpp3604 ParkEvent * const slp = thread->_SleepEvent ;
4096 ParkEvent * const slp = thread->_SleepEvent ;
4104 ParkEvent * ev = thread->_ParkEvent ;
5543 // 2. Modify park-unpark to use per-thread (per ParkEvent) pipe-pairs instead
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.cpp3525 ParkEvent * const slp = thread->_SleepEvent ;
3942 ParkEvent * const slp = thread->_SleepEvent ;
3950 ParkEvent * ev = thread->_ParkEvent ;
5282 // 2. Modify park-unpark to use per-thread (per ParkEvent) pipe-pairs instead
/openjdk7/hotspot/src/os/solaris/vm/
H A Dos_solaris.cpp4392 ParkEvent * const slp = thread->_SleepEvent ;
4402 ParkEvent * const ev = thread->_ParkEvent ;
6214 // objectmonitor ParkEvent into a single "Event" construct.
/openjdk7/hotspot/src/os/windows/vm/
H A Dos_windows.cpp3511 ParkEvent * ev = thread->_ParkEvent ;
4646 // 3. Collapse the interrupt_event, the JSR166 parker event, and the objectmonitor ParkEvent

Completed in 142 milliseconds