Package | Description |
---|---|
org.jikesrvm.objectmodel | |
org.jikesrvm.scheduler |
Modifier and Type | Method and Description |
---|---|
static Lock |
JavaHeader.getHeavyLock(Object o,
boolean create)
Obtains the heavy-weight lock, if there is one, associated with the
indicated object.
|
static Lock |
ObjectModel.getHeavyLock(Object o,
boolean create)
Obtains the heavy-weight lock, if there is one, associated with the
indicated object.
|
Modifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
(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.
|
Modifier and Type | Method and Description |
---|---|
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) |