APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.jfr.consumer

public final Class RecordedStackTrace

extends RecordedObject
Class Inheritance
Imports
java.util.ArrayList, .Arrays, .List, jdk.jfr.internal.consumer.ObjectContext

A recorded stack trace.
Since
9

Field Summary

Inherited from jdk.jfr.consumer.RecordedObject:
INTEGER_MINUS_ONEINTEGER_ZEROLONG_MINUS_ONEobjectContextobjects

Constructor Summary

AccessConstructor and Description
pack-priv
RecordedStackTrace(ObjectContext objectContext, Object[] values)

Method Summary

Modifier and TypeMethod and Description
public List<RecordedFrame>

Returns:

a list of Java stack frames, not null
getFrames
()

Returns the frames in the stack trace.

public boolean

Returns:

true if the stack trace is truncated, false otherwise
isTruncated
()

Returns true if the stack trace is truncated due to its size, false otherwise.

Inherited from jdk.jfr.consumer.RecordedObject:
getBooleangetBytegetChargetClassgetDoublegetDurationgetFieldsgetFloatgetInstantgetIntgetLonggetShortgetStringgetThreadgetTypedgetValuehasFieldobjectAttoString

Constructor Detail

RecordedStackTraceback to summary
pack-priv RecordedStackTrace(ObjectContext objectContext, Object[] values)

Method Detail

getFramesback to summary
public List<RecordedFrame> getFrames()

Returns the frames in the stack trace.

Returns:List<RecordedFrame>

a list of Java stack frames, not null

Annotations
@SuppressWarnings:unchecked
isTruncatedback to summary
public boolean isTruncated()

Returns true if the stack trace is truncated due to its size, false otherwise.

Returns:boolean

true if the stack trace is truncated, false otherwise