Versions in this module Expand all Collapse all v0 v0.2.0 Aug 6, 2022 v0.1.0 Aug 6, 2022 Changes in this version + type Batch struct + type BatchSize int + const DefaultBatchSize + type BigRecordsReadStorage struct + func NewBigRecordsReadStorage(instanceDumpPersistent IndexRecordsReaderAtCloser, ...) (*BigRecordsReadStorage, error) + func (r *BigRecordsReadStorage) Close() error + func (r *BigRecordsReadStorage) HprofGcInstanceDumpGetOffset(objectId core.Identifier) (int, error) + func (r *BigRecordsReadStorage) HprofGcObjArrayDumpGetOffset(arrayObjectId core.Identifier) (int, error) + func (r *BigRecordsReadStorage) HprofGcPrimArrayDumpGetOffset(arrayObjectId core.Identifier) (int, error) + type BigRecordsWriteStorage struct + func NewBigRecordsWriteStorage(instanceDumpPersistent io.WriteCloser, objArrayDumpPersistent io.WriteCloser, ...) *BigRecordsWriteStorage + func (w *BigRecordsWriteStorage) Close() error + func (w *BigRecordsWriteStorage) HprofGcInstanceDumpPutOffset(objectId core.Identifier, offset int) error + func (w *BigRecordsWriteStorage) HprofGcObjArrayDumpPutOffset(arrayObjectId core.Identifier, offset int) error + func (w *BigRecordsWriteStorage) HprofGcPrimArrayDumpPutOffset(arrayObjectId core.Identifier, offset int) error + type Counters struct + InstancesCount map[core.Identifier]int + ObjArrayElementsCount map[core.Identifier]int + ObjArraysCount map[core.Identifier]int + PrimArrayElementsCount map[core.JavaType]int + PrimArraysCount map[core.JavaType]int + type IndexRecordsReadStorage struct + func NewIndexRecordsReadStorage(persistentStorage IndexRecordsReaderAtCloser, size int) (*IndexRecordsReadStorage, error) + func (db *IndexRecordsReadStorage) Close() error + func (r *IndexRecordsReadStorage) Get(key uint64) (uint64, error) + type IndexRecordsReaderAtCloser interface + type IndexRecordsWriteCloser interface + type IndexRecordsWriteStorage struct + func NewIndexRecordsWriteStorage(persistentStorage io.WriteCloser, batchSize BatchSize) *IndexRecordsWriteStorage + func (w *IndexRecordsWriteStorage) Close() error + func (w *IndexRecordsWriteStorage) Put(key uint64, val uint64) error + func (w *IndexRecordsWriteStorage) Write(batch Batch) error + type MetaReadStorage struct + func NewMetaReadStorage() *MetaReadStorage + func (s *MetaReadStorage) RestoreFrom(source io.Reader) error + type MetaStorage struct + Counters Counters + type MetaWriteStorage struct + func NewMetaWriteStorage() *MetaWriteStorage + func (s *MetaWriteStorage) AddInstance(obj any) + func (s *MetaWriteStorage) SerializeTo(destination io.Writer) error + type RamReadVolume struct + func NewRamReadVolume(data []byte) *RamReadVolume + func (r *RamReadVolume) Close() error + type RamWriteVolume struct + func NewRamWriteVolume() *RamWriteVolume + func (w *RamWriteVolume) Close() error + type SmallRecordsReadStorage struct + func NewSmallRecordsReadStorage() *SmallRecordsReadStorage + func (s *SmallRecordsReadStorage) GetHprofFrame(stackFrameId core.Identifier) (core.HprofFrame, error) + func (s *SmallRecordsReadStorage) GetHprofGcClassDump(classObjectId core.Identifier) (core.HprofGcClassDump, error) + func (s *SmallRecordsReadStorage) GetHprofLoadClassByClassObjectId(classObjectId core.Identifier) (core.HprofLoadClass, error) + func (s *SmallRecordsReadStorage) GetHprofLoadClassByClassSerialNumer(classSerialNumber uint32) (core.HprofLoadClass, error) + func (s *SmallRecordsReadStorage) GetHprofTrace(threadSerialNumber uint32) (core.HprofTrace, error) + func (s *SmallRecordsReadStorage) GetHprofUtf8(nameId core.Identifier) (core.HprofUtf8, error) + func (s *SmallRecordsReadStorage) ListHprofGcRootJavaFrame() []core.HprofGcRootJavaFrame + func (s *SmallRecordsReadStorage) ListHprofGcRootJniGlobal() []core.HprofGcRootJniGlobal + func (s *SmallRecordsReadStorage) ListHprofGcRootJniLocal() []core.HprofGcRootJniLocal + func (s *SmallRecordsReadStorage) ListHprofGcRootStickyClass() []core.HprofGcRootStickyClass + func (s *SmallRecordsReadStorage) ListHprofGcRootThreadObj() []core.HprofGcRootThreadObj + func (s *SmallRecordsReadStorage) ListHprofLoadClass() []core.HprofLoadClass + func (s *SmallRecordsReadStorage) RestoreFrom(source io.Reader) error + type SmallRecordsWriteStorage struct + func NewSmallRecordsWriteStorage() *SmallRecordsWriteStorage + func (s *SmallRecordsWriteStorage) PutHprofFrame(record core.HprofFrame) + func (s *SmallRecordsWriteStorage) PutHprofGcClassDump(record core.HprofGcClassDump) + func (s *SmallRecordsWriteStorage) PutHprofGcRootJavaFrame(record core.HprofGcRootJavaFrame) + func (s *SmallRecordsWriteStorage) PutHprofGcRootJniGlobal(record core.HprofGcRootJniGlobal) + func (s *SmallRecordsWriteStorage) PutHprofGcRootJniLocal(record core.HprofGcRootJniLocal) + func (s *SmallRecordsWriteStorage) PutHprofGcRootStickyClass(record core.HprofGcRootStickyClass) + func (s *SmallRecordsWriteStorage) PutHprofGcRootThreadObj(record core.HprofGcRootThreadObj) + func (s *SmallRecordsWriteStorage) PutHprofLoadClass(record core.HprofLoadClass) + func (s *SmallRecordsWriteStorage) PutHprofTrace(record core.HprofTrace) + func (s *SmallRecordsWriteStorage) PutHprofUtf8(record core.HprofUtf8) + func (s *SmallRecordsWriteStorage) PutIdSize(idSize uint32) + func (s *SmallRecordsWriteStorage) PutTimestamp(timestamp time.Time) + func (s *SmallRecordsWriteStorage) SerializeTo(destination io.Writer) error