|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mmtk.utility.deque.Deque
org.mmtk.utility.deque.SharedDeque
org.mmtk.utility.deque.SortSharedDeque
org.mmtk.utility.deque.SortTODSharedDeque
public final class SortTODSharedDeque
This class specializes SortSharedQueue to sort objects according to their time of death (TOD).
| Field Summary |
|---|
| Fields inherited from class org.mmtk.utility.deque.SharedDeque |
|---|
head, tail |
| Fields inherited from class org.mmtk.utility.deque.Deque |
|---|
BUFFER_MASK, BUFFER_SIZE, HEAD_INITIAL_VALUE, LOG_PAGES_PER_BUFFER, META_DATA_SIZE, NEXT_FIELD_OFFSET, PAGES_PER_BUFFER, TAIL_INITIAL_VALUE, USABLE_BUFFER_BYTES |
| Constructor Summary | |
|---|---|
SortTODSharedDeque(String name,
RawPageSpace rps,
int arity)
Constructor |
|
| Method Summary | |
|---|---|
protected Word |
getKey(Address obj)
Return the sorting key for the object passed as a parameter. |
| Methods inherited from class org.mmtk.utility.deque.SortSharedDeque |
|---|
sort |
| Methods inherited from class org.mmtk.utility.deque.SharedDeque |
|---|
alloc, assertExhausted, clearDeque, dequeue, dequeue, dequeueAndWait, dequeueAndWait, enqueue, enqueuedPages, free, getArity, getNext, getPrev, prepare, prepareNonBlocking, reset |
| Methods inherited from class org.mmtk.utility.deque.Deque |
|---|
bufferEnd, bufferFirst, bufferLast, bufferLast, bufferLastOffset, bufferOffset, bufferStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortTODSharedDeque(String name,
RawPageSpace rps,
int arity)
rps - The space from which the instance should obtain buffers.arity - The arity of the data to be enqueued| Method Detail |
|---|
protected Word getKey(Address obj)
SortSharedDeque
getKey in class SortSharedDequeobj - The address of the object whose key is wanted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||