Class TraceRecordExternal
java.lang.Object
com.ibm.jvm.format.TraceRecord
com.ibm.jvm.format.TraceRecordExternal
- All Implemented Interfaces:
Comparable
Extends Trace Record. Special processing needed for external trace records.
-
Field Summary
FieldsFields declared in class TraceRecord
APP_TYPE, ASSERT_TYPE, BASE_INDENT, buffer, bufferSize, Chars, currentBuffer, currentLength, currentOffset, currentTimeStamp, currentTraceID, DEBUG_EXCPT_TYPE, DEBUG_TYPE, ENTRY_EXCPT_TYPE, ENTRY_TYPE, ERROR_TYPE, EVENT_TYPE, EXCEPTION_TYPE, EXIT_EXCPT_TYPE, EXIT_TYPE, headerSize, indentLevels, lastThread, longEntryTraceIDs, MEM_EXCPT_TYPE, MEM_TYPE, nextEight, nextEntry, notFormatted, offset, PERF_EXCPT_TYPE, PERF_TYPE, recordFinished, start, TAB, threadID, threadName, threadSyn1, threadSyn2, timeStamp, TIMESTAMP_OFFSET, traceFile, TRACEID_OFFSET, traceThread, types, upperWord, wrapTime, wrapTimes, writePlatform, writeSystemModifier and TypeFieldDescriptionprotected static final byteprotected static final byteprotected static final StringBufferprotected byte[]protected intprotected static final String[]protected byte[]protected intprotected intprotected BigIntegerprotected intprotected static final byteprotected static final byteprotected static final byteprotected static final byteprotected static final byteprotected static final byteprotected static final byteprotected static final byteprotected static final byteprotected intprotected static Hashtableprotected static longprotected Stackprotected static final byteprotected static final byteprotected byte[]protected longprotected booleanprotected intprotected static final byteprotected static final byteprotected booleanprotected longprotected static final Stringprotected longprotected Stringprotected longprotected longprotected BigIntegerprotected static final intprotected TraceFileprotected static final intprotected TraceThreadprotected static final String[]protected BigIntegerprotected BigIntegerprotected Stackprotected BigIntegerprotected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidcopySpannedEntryForNextRecord(byte[] buffer, int start, int end) The end of our Trace Record is copied to the next recordprotected intGet the next Trace Entry return 0=no more entries 1=last entry not yet formattedprotected voidprime()reads in the record data for this TraceRecordprotected final voidspanStart(byte[] startofSpanEntry, int startofSpanEntrySize) This is called from previous TraceRecord and contains the start of the spanned entryMethods declared in class TraceRecord
compareTo, formatCurrentEntry, getCurrentTimeStamp, getIndent, getNextRecord, initStatics, processNextEntryHeader, release, setIndentModifier and TypeMethodDescriptionfinal intcompares this TraceRecord to another based on the time stamp.protected final Stringreturn: the formatted trace entry.protected final BigIntegerreturns the latest time stamp read so farprotected static final StringBuffersets the indent associated with a given thread idprotected final TraceRecordreturns the latest time stamp read so farprotected static final voidInitializes static variables.protected final intprocessNextEntryHeader(byte[] entry, int start) sets up current* fields for later formattingprotected final voidrelease()release the record data for this TraceRecord so GC can do it's stuffprotected static final voidsetIndent(String threadID, StringBuffer buffer) sets the indent associated with a given thread id
-
Field Details
-
spannedEntrySoFar
protected byte[] spannedEntrySoFar -
spanEntry
protected byte[] spanEntry
-
-
Constructor Details
-
TraceRecordExternal
- Throws:
IOException
-
-
Method Details
-
prime
reads in the record data for this TraceRecord- Throws:
IOException
-
getNextEntry
Get the next Trace Entry return 0=no more entries 1=last entry not yet formatted- Throws:
IOException
-
spanStart
protected final void spanStart(byte[] startofSpanEntry, int startofSpanEntrySize) This is called from previous TraceRecord and contains the start of the spanned entry -
copySpannedEntryForNextRecord
protected final void copySpannedEntryForNextRecord(byte[] buffer, int start, int end) The end of our Trace Record is copied to the next record
-