|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object joeq.Runtime.Monitor
public class Monitor
Field Summary | |
---|---|
static jq_InstanceField |
_atomic_count
|
static jq_Class |
_class
|
static jq_StaticMethod |
_monitorenter
|
static jq_StaticMethod |
_monitorexit
|
static boolean |
TRACE
|
Method Summary | |
---|---|
static Monitor |
allocateInflatedLock()
|
void |
free()
|
static int |
getLockEntryCount(Object k)
Returns the depth of the lock on the given object. |
static Monitor |
getMonitor(int lockword)
Get the Monitor object associated with this lockword. |
static void |
installInflatedLock(Object k,
Monitor m)
Installs an inflated lock on the given object. |
void |
lock(jq_Thread t)
Lock this monitor with the given thread block. |
static void |
monitorenter(Object k)
Monitorenter runtime routine. |
static void |
monitorexit(Object k)
Monitorexit runtime routine. |
void |
releaseSemaphore()
Create a semaphore if there isn't one already, and release it. |
void |
unlock(jq_Thread t)
Unlock this monitor with the given thread block. |
void |
waitOnSemaphore()
Create a semaphore if there isn't one already, and wait on it. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean TRACE
public static final jq_Class _class
public static final jq_StaticMethod _monitorenter
public static final jq_StaticMethod _monitorexit
public static final jq_InstanceField _atomic_count
Method Detail |
---|
public static int getLockEntryCount(Object k)
public static void monitorenter(Object k)
public static void monitorexit(Object k)
public static Monitor getMonitor(int lockword)
public static Monitor allocateInflatedLock()
public void free()
public static void installInflatedLock(Object k, Monitor m)
public void lock(jq_Thread t)
public void unlock(jq_Thread t)
public void waitOnSemaphore()
public void releaseSemaphore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |