Package one.nio.mem
Class MallocAnalyzer
java.lang.Object
one.nio.mem.Malloc
one.nio.mem.MallocMT
one.nio.mem.MallocAnalyzer
- All Implemented Interfaces:
Allocator,MallocMXBean
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class one.nio.mem.MallocMT
DEFAULT_CONCURRENCY_LEVELFields inherited from class one.nio.mem.Malloc
base, BASE_OFFSET, BIN_COUNT, BIN_SIZE, BIN_SPACE, capacity, CAPACITY_OFFSET, FREE_MASK, HEADER_SIZE, LEFT_OFFSET, MAX_CHUNK, MIN_CHUNK, NEXT_OFFSET, OCCUPIED_MASK, PREV_OFFSET, SIGNATURE_OFFSET, SIGNATURE_V2, SIGNATURE_V3, SIZE_OFFSET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidinfo()static voidprivate voidprintChunkInfo(String header, MallocAnalyzer.BinStats[] stats) voidMethods inherited from class one.nio.mem.MallocMT
allocatedSize, free, getFreeMemory, init, malloc, segment, segmentFor, segments, verifyMethods inherited from class one.nio.mem.Malloc
base, binSize, calloc, chooseBin, getBin, getTotalMemory, getUsedMemory, mallocImpl
-
Field Details
-
out
-
-
Constructor Details
-
MallocAnalyzer
-
-
Method Details
-
info
public void info() -
segmentInfo
public void segmentInfo() -
chunkInfo
public void chunkInfo() -
printChunkInfo
-
main
- Throws:
Exception
-