Package com.strategyquant.lib
Class MemoryInfo
java.lang.Object
com.strategyquant.lib.MemoryInfo
Class keeping current memory information about allocated memory and objects.
-
Field Summary
FieldsModifier and TypeFieldDescriptionlongThe allocated memory.intThe allocated objects.intThe reallocations.longThe total allocated memory.intThe total allocated objects.longThe total deallocated memory.intThe total deallocated objects. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(MemoryInfo memoryInfo)Copy from.toString()To string.
-
Field Details
-
allocatedMemory
public long allocatedMemoryThe allocated memory. -
allocatedObjects
public int allocatedObjectsThe allocated objects. -
totalAllocatedMemory
public long totalAllocatedMemoryThe total allocated memory. -
totalAllocatedObjects
public int totalAllocatedObjectsThe total allocated objects. -
totalDeallocatedMemory
public long totalDeallocatedMemoryThe total deallocated memory. -
totalDeallocatedObjects
public int totalDeallocatedObjectsThe total deallocated objects. -
reallocations
public int reallocationsThe reallocations.
-
-
Constructor Details
-
MemoryInfo
public MemoryInfo()
-
-
Method Details