Class: sun.management.MemoryPoolImpl.CollectionSensor
- class MemoryPoolImpl.CollectionSensor
- extends Sensor
CollectionSensor will be triggered and cleared by the VM
when the memory usage of a memory pool after GC is crossing
the collection threshold.
The VM will trigger this sensor in subsequent crossing
regardless if the memory usage has changed siince the previous GC.
Inheritance
Superclass tree:- java.lang.Object
- sun.management.Sensor
- sun.management.MemoryPoolImpl.CollectionSensor
Methods
-
MemoryPoolImpl.CollectionSensortop
MemoryPoolImpl.CollectionSensor(MemoryPoolImpl pool, String name) -
clearActiontop
void clearAction()- Override hierarchy:
- clearAction from Sensor
-
triggerActiontop
void triggerAction()- Override hierarchy:
- triggerAction from Sensor
-
triggerActiontop
void triggerAction(MemoryUsage usage)- Override hierarchy:
- triggerAction from Sensor
Fields
-
pool
MemoryPoolImpl pool
