Documentation ¶
Index ¶
- Constants
- Variables
- func ResolveConstants(classes ClassMap, cpools PoolMap, classID int) (err error)
- func Uncompress(r io.Reader) (io.ReadCloser, error)
- type ActiveRecording
- type ActiveSetting
- type AnnotationMetadata
- type Boolean
- type BooleanFlag
- type Byte
- type CPUInformation
- type CPULoad
- type CPUTimeStampCounter
- type CPool
- type CheckpointEvent
- type Chunk
- type ChunkParseOptions
- type Class
- type ClassLoader
- type ClassLoaderStatistics
- type ClassLoadingStatistics
- type ClassMap
- type ClassMetadata
- type CodeBlobType
- type CodeCacheConfiguration
- type CodeCacheStatistics
- type CodeSweeperConfiguration
- type CodeSweeperStatistics
- type CompilerConfiguration
- type CompilerStatistics
- type CompressionType
- type Double
- type DoubleFlag
- type Element
- type EventBase
- type EventParseable
- type ExceptionStatistics
- type ExecutionSample
- type FieldMetadata
- type FlagValueOrigin
- type Float
- type FrameType
- type G1YCType
- type GCConfiguration
- type GCHeapConfiguration
- type GCName
- type GCSurvivorConfiguration
- type GCTLABConfiguration
- type Header
- type InitialEnvironmentVariable
- type InitialSystemProperty
- type InputReader
- type Int
- type IntFlag
- type JVMInformation
- type JavaMonitorEnter
- type JavaMonitorWait
- type JavaThreadStatistics
- type LoaderConstraintsTableStatistics
- type Long
- type LongFlag
- type Metadata
- type MetadataEvent
- type Method
- type Module
- type ModuleExport
- type ModuleRequire
- type NarrowOopMode
- type NativeLibrary
- type NetworkInterfaceName
- type NetworkUtilization
- type OSInformation
- type ObjectAllocationInNewTLAB
- type ObjectAllocationOutsideTLAB
- type Package
- type ParseResolvable
- type Parseable
- type PhysicalMemory
- type PlaceholderTableStatistics
- type PoolMap
- type ProtectionDomainCacheTableStatistics
- type Reader
- type Region
- type Resolvable
- type Root
- type SettingMetadata
- type Short
- type StackFrame
- type StackTrace
- type String
- type StringFlag
- type StringTableStatistics
- type Symbol
- type SymbolTableStatistics
- type SystemProcess
- type Thread
- type ThreadAllocationStatistics
- type ThreadCPULoad
- type ThreadContextSwitchRate
- type ThreadDump
- type ThreadPark
- type ThreadStart
- type ThreadState
- type UnsignedIntFlag
- type UnsignedLongFlag
- type UnsupportedEvent
- type UnsupportedType
- type Version
- type VirtualizationInformation
- type YoungGenerationConfiguration
Constants ¶
View Source
const ( MetadataEventType = 0 ConstantPoolEventType = 1 EventSuperType = "jdk.jfr.Event" )
Variables ¶
View Source
var ( JFRMagic = []byte{'F', 'L', 'R', 0} ZIPMagic = []byte{0x50, 0x4b, 3, 4} LZ4Magic = []byte{4, 34, 77, 24} GZipMagic = []byte{31, 139} )
Functions ¶
func ResolveConstants ¶
func Uncompress ¶
func Uncompress(r io.Reader) (io.ReadCloser, error)
Types ¶
type ActiveRecording ¶
type ActiveRecording struct { EventBase StartTime int64 Duration int64 EventThread *Thread ID int64 Name string Destination string MaxAge int64 MaxSize int64 RecordingStart int64 RecordingDuration int64 }
func (*ActiveRecording) Parse ¶
func (ar *ActiveRecording) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ActiveSetting ¶
type ActiveSetting struct { EventBase StartTime int64 Duration int64 EventThread *Thread ID int64 Name string Value string }
func (*ActiveSetting) Parse ¶
func (as *ActiveSetting) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type AnnotationMetadata ¶
func (*AnnotationMetadata) AppendChild ¶
func (a *AnnotationMetadata) AppendChild(string) Element
func (*AnnotationMetadata) SetAttribute ¶
func (a *AnnotationMetadata) SetAttribute(key, value string) (err error)
type BooleanFlag ¶
type BooleanFlag struct { EventBase StartTime int64 Name string Value bool Origin *FlagValueOrigin }
func (*BooleanFlag) Parse ¶
func (bf *BooleanFlag) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CPUInformation ¶
type CPUInformation struct { EventBase StartTime int64 CPU string Description string Sockets int32 Cores int32 HWThreads int32 }
func (*CPUInformation) Parse ¶
func (ci *CPUInformation) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CPULoad ¶
type CPUTimeStampCounter ¶
type CPUTimeStampCounter struct { EventBase StartTime int64 FastTimeEnabled bool FastTimeAutoEnabled bool OSFrequency int64 FastTimeFrequency int64 }
func (*CPUTimeStampCounter) Parse ¶
func (ctsc *CPUTimeStampCounter) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CPool ¶
type CPool struct { Pool map[int]ParseResolvable // contains filtered or unexported fields }
type CheckpointEvent ¶
type Chunk ¶
type Chunk struct { Header Header Metadata MetadataEvent Checkpoints []CheckpointEvent Events []EventParseable }
func ParseWithOptions ¶
func ParseWithOptions(r io.Reader, options *ChunkParseOptions) ([]Chunk, error)
type ChunkParseOptions ¶
type ChunkParseOptions struct {
CPoolProcessor func(meta *ClassMetadata, cpool *CPool)
}
type Class ¶
type Class struct { ClassLoader *ClassLoader Name *Symbol Package *Package Modifiers int64 // contains filtered or unexported fields }
type ClassLoader ¶
func (*ClassLoader) Parse ¶
func (cl *ClassLoader) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ClassLoaderStatistics ¶
type ClassLoaderStatistics struct { EventBase StartTime int64 ClassLoader *ClassLoader ParentClassLoader *ClassLoader ClassLoaderData int64 ClassCount int64 ChunkSize int64 BlockSize int64 AnonymousClassCount int64 AnonymousChunkSize int64 AnonymousBlockSize int64 UnsafeAnonymousClassCount int64 UnsafeAnonymousChunkSize int64 UnsafeAnonymousBlockSize int64 HiddenClassCount int64 HiddenChunkSize int64 HiddenBlockSize int64 }
func (*ClassLoaderStatistics) Parse ¶
func (cls *ClassLoaderStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ClassLoadingStatistics ¶
type ClassLoadingStatistics struct { EventBase StartTime int64 LoadedClassCount int64 UnloadedClassCount int64 }
func (*ClassLoadingStatistics) Parse ¶
func (cls *ClassLoadingStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ClassMap ¶
type ClassMap map[int]*ClassMetadata
type ClassMetadata ¶
type ClassMetadata struct { ID int64 Name string SuperType string SimpleType bool Fields []FieldMetadata Settings []SettingMetadata Annotations []AnnotationMetadata }
func (*ClassMetadata) AppendChild ¶
func (c *ClassMetadata) AppendChild(name string) Element
func (*ClassMetadata) SetAttribute ¶
func (c *ClassMetadata) SetAttribute(key, value string) (err error)
type CodeBlobType ¶
type CodeBlobType struct { String string // contains filtered or unexported fields }
func (*CodeBlobType) Parse ¶
func (cbt *CodeBlobType) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CodeCacheConfiguration ¶
type CodeCacheConfiguration struct { EventBase StartTime int64 InitialSize int64 ReservedSize int64 NonNMethodSize int64 ProfiledSize int64 NonProfiledSize int64 ExpansionSize int64 MinBlockLength int64 StartAddress int64 ReservedTopAddress int64 }
func (*CodeCacheConfiguration) Parse ¶
func (ccc *CodeCacheConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CodeCacheStatistics ¶
type CodeCacheStatistics struct { EventBase StartTime int64 CodeBlobType *CodeBlobType StartAddress int64 ReservedTopAddress int64 EntryCount int32 MethodCount int32 AdaptorCount int32 UnallocatedCapacity int64 FullCount int32 }
func (*CodeCacheStatistics) Parse ¶
func (ccs *CodeCacheStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CodeSweeperConfiguration ¶
type CodeSweeperConfiguration struct { EventBase StartTime int64 SweeperEnabled bool FlushingEnabled bool SweepThreshold int64 }
func (*CodeSweeperConfiguration) Parse ¶
func (csc *CodeSweeperConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CodeSweeperStatistics ¶
type CodeSweeperStatistics struct { EventBase StartTime int64 SweepCount int32 MethodReclaimedCount int32 TotalSweepTime int64 PeakFractionTime int64 PeakSweepTime int64 }
func (*CodeSweeperStatistics) Parse ¶
func (css *CodeSweeperStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CompilerConfiguration ¶
type CompilerConfiguration struct { EventBase StartTime int64 ThreadCount int32 TieredCompilation bool }
func (*CompilerConfiguration) Parse ¶
func (cc *CompilerConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CompilerStatistics ¶
type CompilerStatistics struct { EventBase StartTime int64 CompileCount int32 BailoutCount int32 InvalidatedCount int32 OSRCompileCount int32 StandardCompileCount int32 OSRBytesCompiled int64 StandardBytesCompiled int64 NMethodsSize int64 NMethodCodeSize int64 PeakTimeSpent int64 TotalTimeSpent int64 }
func (*CompilerStatistics) Parse ¶
func (cs *CompilerStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type CompressionType ¶
type CompressionType uint8
const ( Unknown CompressionType = iota PlainJFR GZip ZIP LZ4 )
func GuessCompressionType ¶
func GuessCompressionType(magic []byte) CompressionType
type DoubleFlag ¶
type DoubleFlag struct { EventBase StartTime int64 Name string Value float64 Origin *FlagValueOrigin }
func (*DoubleFlag) Parse ¶
func (df *DoubleFlag) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type EventBase ¶ added in v0.6.1
type EventBase struct {
Metadata *ClassMetadata
}
func (*EventBase) GetMetadata ¶ added in v0.6.1
func (e *EventBase) GetMetadata() *ClassMetadata
func (*EventBase) SetMetadata ¶ added in v0.6.1
func (e *EventBase) SetMetadata(metadata *ClassMetadata)
type EventParseable ¶ added in v0.6.1
type EventParseable interface { Parseable SetMetadata(metadata *ClassMetadata) GetMetadata() *ClassMetadata }
func ParseEvent ¶
func ParseEvent(r Reader, classes ClassMap, cpools PoolMap) (EventParseable, error)
type ExceptionStatistics ¶
type ExceptionStatistics struct { EventBase StartTime int64 Duration int64 EventThread *Thread StackTrace *StackTrace Throwable int64 }
func (*ExceptionStatistics) Parse ¶
func (es *ExceptionStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ExecutionSample ¶
type ExecutionSample struct { EventBase StartTime int64 SampledThread *Thread StackTrace *StackTrace State *ThreadState ContextId int64 }
func (*ExecutionSample) Parse ¶
func (es *ExecutionSample) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type FieldMetadata ¶
type FieldMetadata struct { Class int64 Name string ConstantPool bool Dimension int32 Annotations []AnnotationMetadata }
func (*FieldMetadata) AppendChild ¶
func (f *FieldMetadata) AppendChild(name string) Element
func (*FieldMetadata) SetAttribute ¶
func (f *FieldMetadata) SetAttribute(key, value string) (err error)
type FlagValueOrigin ¶
type FlagValueOrigin struct { String string // contains filtered or unexported fields }
func (*FlagValueOrigin) Parse ¶
func (fvo *FlagValueOrigin) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type FrameType ¶
type FrameType struct { Description string // contains filtered or unexported fields }
type G1YCType ¶
type G1YCType struct { String string // contains filtered or unexported fields }
type GCConfiguration ¶
type GCConfiguration struct { EventBase StartTime int64 YoungCollector *GCName OldCollector *GCName ParallelGCThreads int32 ConcurrentGCThreads int32 UsesDynamicGCThreads bool IsExplicitGCConcurrent bool IsExplicitGCDisabled bool PauseTarget int64 GCTimeRatio int32 }
func (*GCConfiguration) Parse ¶
func (gc *GCConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type GCHeapConfiguration ¶
type GCHeapConfiguration struct { EventBase StartTime int64 MinSize int64 MaxSize int64 InitialSize int64 UsesCompressedOops bool CompressedOopsMode *NarrowOopMode ObjectAlignment int64 HeapAddressBits int8 }
func (*GCHeapConfiguration) Parse ¶
func (ghc *GCHeapConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type GCName ¶
type GCName struct { String string // contains filtered or unexported fields }
type GCSurvivorConfiguration ¶
type GCSurvivorConfiguration struct { EventBase StartTime int64 MaxTenuringThreshold int8 InitialTenuringThreshold int8 }
func (*GCSurvivorConfiguration) Parse ¶
func (gsc *GCSurvivorConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type GCTLABConfiguration ¶
type GCTLABConfiguration struct { EventBase StartTime int64 UsesTLABs bool MinTLABSize int64 TLABRefillWasteLimit int64 }
func (*GCTLABConfiguration) Parse ¶
func (gtc *GCTLABConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type Header ¶
type InitialEnvironmentVariable ¶
func (*InitialEnvironmentVariable) Parse ¶
func (iev *InitialEnvironmentVariable) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type InitialSystemProperty ¶
func (*InitialSystemProperty) Parse ¶
func (isp *InitialSystemProperty) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type InputReader ¶
type InputReader interface { io.Reader io.ByteReader }
type IntFlag ¶
type IntFlag struct { EventBase StartTime int64 Name string Value int32 Origin *FlagValueOrigin }
type JVMInformation ¶
type JVMInformation struct { EventBase StartTime int64 JVMName string JVMVersion string JVMArguments string JVMFlags string JavaArguments string JVMStartTime int64 PID int64 }
func (*JVMInformation) Parse ¶
func (ji *JVMInformation) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type JavaMonitorEnter ¶
type JavaMonitorEnter struct { EventBase StartTime int64 Duration int64 EventThread *Thread StackTrace *StackTrace MonitorClass *Class PreviousOwner *Thread Address int64 ContextId int64 }
func (*JavaMonitorEnter) Parse ¶
func (jme *JavaMonitorEnter) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type JavaMonitorWait ¶
type JavaMonitorWait struct { EventBase StartTime int64 Duration int64 EventThread *Thread StackTrace *StackTrace MonitorClass *Class Notifier *Thread Timeout int64 TimedOut bool Address int64 }
func (*JavaMonitorWait) Parse ¶
func (jmw *JavaMonitorWait) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type JavaThreadStatistics ¶
type JavaThreadStatistics struct { EventBase StartTime int64 ActiveCount int64 DaemonCount int64 AccumulatedCount int64 PeakCount int64 }
func (*JavaThreadStatistics) Parse ¶
func (jts *JavaThreadStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type LoaderConstraintsTableStatistics ¶
type LoaderConstraintsTableStatistics struct { EventBase StartTime int64 BucketCount int64 EntryCount int64 TotalFootprint int64 BucketCountMaximum int64 BucketCountAverage float32 BucketCountVariance float32 BucketCountStandardDeviation float32 InsertionRate float32 RemovalRate float32 }
func (*LoaderConstraintsTableStatistics) Parse ¶
func (lcts *LoaderConstraintsTableStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type LongFlag ¶
type LongFlag struct { EventBase StartTime int64 Name string Value int64 Origin *FlagValueOrigin }
type MetadataEvent ¶
func (*MetadataEvent) Parse ¶
func (m *MetadataEvent) Parse(r Reader) (err error)
type Method ¶
type Method struct { Type *Class Name *Symbol Descriptor *Symbol Modifiers int32 Hidden bool // contains filtered or unexported fields }
type Module ¶
type Module struct { Name *Symbol Version *Symbol Location *Symbol ClassLoader *ClassLoader // contains filtered or unexported fields }
type ModuleExport ¶
type ModuleExport struct { EventBase StartTime int64 ExportedPackage *Package TargetModule *Module }
func (*ModuleExport) Parse ¶
func (me *ModuleExport) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ModuleRequire ¶
func (*ModuleRequire) Parse ¶
func (mr *ModuleRequire) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type NarrowOopMode ¶
type NarrowOopMode struct { String string // contains filtered or unexported fields }
func (*NarrowOopMode) Parse ¶
func (nom *NarrowOopMode) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type NativeLibrary ¶
type NativeLibrary struct { EventBase StartTime int64 Name string BaseAddress int64 TopAddress int64 }
func (*NativeLibrary) Parse ¶
func (nl *NativeLibrary) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type NetworkInterfaceName ¶
type NetworkInterfaceName struct { NetworkInterface string // contains filtered or unexported fields }
func (*NetworkInterfaceName) Parse ¶
func (nim *NetworkInterfaceName) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type NetworkUtilization ¶
type NetworkUtilization struct { EventBase StartTime int64 NetworkInterface *NetworkInterfaceName ReadRate int64 WriteRate int64 }
func (*NetworkUtilization) Parse ¶
func (nu *NetworkUtilization) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type OSInformation ¶
func (*OSInformation) Parse ¶
func (os *OSInformation) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ObjectAllocationInNewTLAB ¶
type ObjectAllocationInNewTLAB struct { EventBase StartTime int64 EventThread *Thread StackTrace *StackTrace ObjectClass *Class AllocationSize int64 TLABSize int64 ContextId int64 }
func (*ObjectAllocationInNewTLAB) Parse ¶
func (oa *ObjectAllocationInNewTLAB) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ObjectAllocationOutsideTLAB ¶
type ObjectAllocationOutsideTLAB struct { EventBase StartTime int64 EventThread *Thread StackTrace *StackTrace ObjectClass *Class AllocationSize int64 ContextId int64 }
func (*ObjectAllocationOutsideTLAB) Parse ¶
func (oa *ObjectAllocationOutsideTLAB) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type Package ¶
type Package struct { Name *Symbol // contains filtered or unexported fields }
type Parseable ¶
type Parseable interface {
Parse(Reader, ClassMap, PoolMap, *ClassMetadata) error
}
type PhysicalMemory ¶
func (*PhysicalMemory) Parse ¶
func (pm *PhysicalMemory) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type PlaceholderTableStatistics ¶
type PlaceholderTableStatistics struct { EventBase StartTime int64 BucketCount int64 EntryCount int64 TotalFootprint int64 BucketCountMaximum int64 BucketCountAverage float32 BucketCountVariance float32 BucketCountStandardDeviation float32 InsertionRate float32 RemovalRate float32 }
func (*PlaceholderTableStatistics) Parse ¶
func (pts *PlaceholderTableStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ProtectionDomainCacheTableStatistics ¶
type ProtectionDomainCacheTableStatistics struct { EventBase StartTime int64 BucketCount int64 EntryCount int64 TotalFootprint int64 BucketCountMaximum int64 BucketCountAverage float32 BucketCountVariance float32 BucketCountStandardDeviation float32 InsertionRate float32 RemovalRate float32 }
func (*ProtectionDomainCacheTableStatistics) Parse ¶
func (pdcts *ProtectionDomainCacheTableStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type Reader ¶
type Reader interface { Boolean() (bool, error) Byte() (int8, error) Short() (int16, error) Char() (uint16, error) Int() (int32, error) Long() (int64, error) Float() (float32, error) Double() (float64, error) String(pool *CPool) (string, error) reader2.VarReader }
func NewReader ¶
func NewReader(r InputReader, compressed bool) Reader
type Resolvable ¶
type Root ¶
func (*Root) AppendChild ¶
type SettingMetadata ¶
TODO: Proper attribute support for SettingMetadata
func (*SettingMetadata) AppendChild ¶
func (s *SettingMetadata) AppendChild(string) Element
func (*SettingMetadata) SetAttribute ¶
func (s *SettingMetadata) SetAttribute(key, value string) error
type StackFrame ¶
type StackFrame struct { Method *Method LineNumber int32 ByteCodeIndex int32 Type *FrameType // contains filtered or unexported fields }
func (*StackFrame) Parse ¶
func (sf *StackFrame) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type StackTrace ¶
type StackTrace struct { Truncated bool Frames []*StackFrame // contains filtered or unexported fields }
func (*StackTrace) Parse ¶
func (st *StackTrace) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type StringFlag ¶
type StringFlag struct { EventBase StartTime int64 Name string Value string Origin *FlagValueOrigin }
func (*StringFlag) Parse ¶
func (sf *StringFlag) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type StringTableStatistics ¶
type StringTableStatistics struct { EventBase StartTime int64 BucketCount int64 EntryCount int64 TotalFootprint int64 BucketCountMaximum int64 BucketCountAverage float32 BucketCountVariance float32 BucketCountStandardDeviation float32 InsertionRate float32 RemovalRate float32 }
func (*StringTableStatistics) Parse ¶
func (sts *StringTableStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type Symbol ¶
type Symbol struct { String string // contains filtered or unexported fields }
type SymbolTableStatistics ¶
type SymbolTableStatistics struct { EventBase StartTime int64 BucketCount int64 EntryCount int64 TotalFootprint int64 BucketCountMaximum int64 BucketCountAverage float32 BucketCountVariance float32 BucketCountStandardDeviation float32 InsertionRate float32 RemovalRate float32 }
func (*SymbolTableStatistics) Parse ¶
func (sts *SymbolTableStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type SystemProcess ¶
func (*SystemProcess) Parse ¶
func (sp *SystemProcess) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type Thread ¶
type Thread struct { OsName string OsThreadID int64 JavaName string JavaThreadID int64 // contains filtered or unexported fields }
type ThreadAllocationStatistics ¶
func (*ThreadAllocationStatistics) Parse ¶
func (tas *ThreadAllocationStatistics) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ThreadCPULoad ¶
type ThreadCPULoad struct { EventBase StartTime int64 EventThread *Thread User float32 System float32 }
func (*ThreadCPULoad) Parse ¶
func (tcl *ThreadCPULoad) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ThreadContextSwitchRate ¶
func (*ThreadContextSwitchRate) Parse ¶
func (tcsr *ThreadContextSwitchRate) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ThreadDump ¶
func (*ThreadDump) Parse ¶
func (td *ThreadDump) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ThreadPark ¶
type ThreadPark struct { EventBase StartTime int64 Duration int64 EventThread *Thread StackTrace *StackTrace ParkedClass *Class Timeout int64 Until int64 Address int64 ContextId int64 }
func (*ThreadPark) Parse ¶
func (tp *ThreadPark) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ThreadStart ¶
type ThreadStart struct { EventBase StartTime int64 EventThread *Thread StackTrace *StackTrace Thread *Thread ParentThread *Thread }
func (*ThreadStart) Parse ¶
func (ts *ThreadStart) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type ThreadState ¶
type ThreadState struct { Name string // contains filtered or unexported fields }
func (*ThreadState) Parse ¶
func (ts *ThreadState) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type UnsignedIntFlag ¶
type UnsignedIntFlag struct { EventBase StartTime int64 Name string Value int32 Origin *FlagValueOrigin }
func (*UnsignedIntFlag) Parse ¶
func (uif *UnsignedIntFlag) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type UnsignedLongFlag ¶
type UnsignedLongFlag struct { EventBase StartTime int64 Name string Value int64 Origin *FlagValueOrigin }
func (*UnsignedLongFlag) Parse ¶
func (ulf *UnsignedLongFlag) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type UnsupportedEvent ¶
type UnsupportedEvent struct {
EventBase
}
func (*UnsupportedEvent) Parse ¶
func (ue *UnsupportedEvent) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type UnsupportedType ¶
type UnsupportedType struct {
// contains filtered or unexported fields
}
UnsupportedType represents any type that is not supported by the parser. This will allow to still read the unsupported type instead of returning an error.
func (*UnsupportedType) Parse ¶
func (ut *UnsupportedType) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type VirtualizationInformation ¶
func (*VirtualizationInformation) Parse ¶
func (vi *VirtualizationInformation) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
type YoungGenerationConfiguration ¶
type YoungGenerationConfiguration struct { EventBase StartTime int64 MinSize int64 MaxSize int64 NewRatio int32 }
func (*YoungGenerationConfiguration) Parse ¶
func (ygc *YoungGenerationConfiguration) Parse(r Reader, classes ClassMap, cpools PoolMap, class *ClassMetadata) error
Click to show internal directories.
Click to hide internal directories.