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 TypeFieldDescriptionlong
The allocated memory.int
The allocated objects.int
The reallocations.long
The total allocated memory.int
The total allocated objects.long
The total deallocated memory.int
The total deallocated objects. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
copyFrom(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