- java.lang.Object
-
- com.ibm.jvm.format.TraceRecord
-
- com.ibm.jvm.format.TraceRecordExternal
-
- All Implemented Interfaces:
Comparable
public final class TraceRecordExternal extends TraceRecord
Extends Trace Record. Special processing needed for external trace records.
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
spanEntry
protected byte[]
spannedEntrySoFar
-
Fields declared in class com.ibm.jvm.format.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, writeSystem
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TraceRecordExternal(TraceFile traceFile, long start)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
copySpannedEntryForNextRecord(byte[] buffer, int start, int end)
The end of our Trace Record is copied to the next recordprotected int
getNextEntry()
Get the next Trace Entry return 0=no more entries 1=last entry not yet formattedprotected void
prime()
reads in the record data for this TraceRecordprotected void
spanStart(byte[] startofSpanEntry, int startofSpanEntrySize)
This is called from previous TraceRecord and contains the start of the spanned entry-
Methods declared in class com.ibm.jvm.format.TraceRecord
compareTo, formatCurrentEntry, getCurrentTimeStamp, getIndent, getNextRecord, initStatics, processNextEntryHeader, release, setIndent
-
-
-
-
Constructor Detail
-
TraceRecordExternal
protected TraceRecordExternal(TraceFile traceFile, long start) throws IOException
- Throws:
IOException
-
-
Method Detail
-
prime
protected void prime() throws IOException
reads in the record data for this TraceRecord- Throws:
IOException
-
getNextEntry
protected int getNextEntry() throws IOException
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
-
-