|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Lock | |
---|---|
org.jikesrvm.objectmodel | |
org.jikesrvm.scheduler |
Uses of Lock in org.jikesrvm.objectmodel |
---|
Methods in org.jikesrvm.objectmodel that return Lock | |
---|---|
static Lock |
ObjectModel.getHeavyLock(Object o,
boolean create)
Obtains the heavy-weight lock, if there is one, associated with the indicated object. |
static Lock |
JavaHeader.getHeavyLock(Object o,
boolean create)
Obtains the heavy-weight lock, if there is one, associated with the indicated object. |
Uses of Lock in org.jikesrvm.scheduler |
---|
Fields in org.jikesrvm.scheduler declared as Lock | |
---|---|
Lock |
RVMThread.cachedFreeLock
A cached free lock. |
private static Lock |
Lock.globalFreeLock
A global lock free list head |
private static Lock[][] |
Lock.locks
The table of locks. |
private Lock |
Lock.nextFreeLock
The next free lock on the free lock list |
Methods in org.jikesrvm.scheduler that return Lock | |
---|---|
(package private) static Lock |
Lock.allocate()
Delivers up an unassigned heavy-weight lock. |
protected static Lock |
ThinLock.attemptToInflate(Object o,
Offset lockOffset,
Lock l)
Promotes a light-weight lock to a heavy-weight lock. |
static Lock |
ThinLock.getHeavyLock(Object o,
Offset lockOffset,
boolean create)
Obtains the heavy-weight lock, if there is one, associated with the indicated object. |
static Lock |
Lock.getLock(int id)
Read a lock from the lock table by id. |
private static Lock |
ThinLock.inflate(Object o,
Offset lockOffset)
Promotes a light-weight lock to a heavy-weight lock. |
Methods in org.jikesrvm.scheduler with parameters of type Lock | |
---|---|
static void |
Lock.addLock(Lock l)
Add a lock to the lock table |
protected static Lock |
ThinLock.attemptToInflate(Object o,
Offset lockOffset,
Lock l)
Promotes a light-weight lock to a heavy-weight lock. |
protected static void |
Lock.free(Lock l)
Recycles an unused heavy-weight lock. |
(package private) static void |
Lock.returnLock(Lock l)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |