public class TraceBuffer extends LocalQueue
Modifier and Type | Field and Description |
---|---|
static boolean |
OMIT_ALLOCS |
static boolean |
OMIT_BOOTALLOCS |
static boolean |
OMIT_OTHERS |
static boolean |
OMIT_OUTPUT |
static boolean |
OMIT_UNREACHABLES |
static boolean |
OMIT_UPDATES |
private static Word |
TRACE_ALLOC_FP |
private static Word |
TRACE_ALLOC_SIZE |
private static Word |
TRACE_ALLOC_THREAD |
private static Word |
TRACE_ARRAY_ELEMENT |
private static Word |
TRACE_ARRAY_TARGET |
private static Word |
TRACE_BOOT_ALLOC_SIZE |
private static Word |
TRACE_DEATH_TIME |
private static Word |
TRACE_FIELD_SLOT |
private static Word |
TRACE_FIELD_TARGET |
private static Word |
TRACE_NEW_RECORD |
private static Word |
TRACE_STATIC_TARGET |
private static Word |
TRACE_TIB_VALUE |
head
queue, tail, tailBufferEnd
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 and Description |
---|
TraceBuffer(SharedDeque pool)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
process()
Process the data in the tracing buffer, output information as needed.
|
void |
push(Word i)
Push word onto the tracing queue.
|
checkDequeue, headStarved, resetLocal, uncheckedDequeue
bufferSentinel, checkTailInsert, flushLocal, isFlushed, normalizeTail, reset, uncheckedTailInsert
bufferEnd, bufferFirst, bufferLast, bufferLast, bufferLastOffset, bufferOffset, bufferStart
private static final Word TRACE_NEW_RECORD
private static final Word TRACE_ALLOC_SIZE
private static final Word TRACE_ALLOC_FP
private static final Word TRACE_ALLOC_THREAD
private static final Word TRACE_TIB_VALUE
private static final Word TRACE_DEATH_TIME
private static final Word TRACE_FIELD_TARGET
private static final Word TRACE_ARRAY_TARGET
private static final Word TRACE_FIELD_SLOT
private static final Word TRACE_ARRAY_ELEMENT
private static final Word TRACE_STATIC_TARGET
private static final Word TRACE_BOOT_ALLOC_SIZE
public static final boolean OMIT_ALLOCS
public static final boolean OMIT_UPDATES
public static final boolean OMIT_BOOTALLOCS
public static final boolean OMIT_UNREACHABLES
public static final boolean OMIT_OTHERS
public static final boolean OMIT_OUTPUT
public TraceBuffer(SharedDeque pool)
pool
- The shared queue to which this queue will append its
buffers (when full or flushed) and from which it will aquire new
buffers when it has exhausted its own.