public final class MethodSampleOrganizer extends Organizer
This organizer is designed to work well with non-decayed cumulative method samples. The basic idea is that each time the sampling threshold is reached we update the accumulated method sample data with the new data and then notify the controller of all methods that were sampled in the current window.
Modifier and Type | Field and Description |
---|---|
private int |
filterOptLevel
Filter out all opt-compiled methods that were compiled
at this level or higher.
|
rvmThread
Constructor and Description |
---|
MethodSampleOrganizer(int filterOptLevel) |
Modifier and Type | Method and Description |
---|---|
void |
initialize()
Initialization: set up data structures and sampling objects.
|
(package private) void |
thresholdReached()
Method that is called when the sampling threshold is reached
|
activate, report, run
getRVMThread, start, stop
private final int filterOptLevel
public MethodSampleOrganizer(int filterOptLevel)
filterOptLevel
- filter out all opt-compiled methods that
were compiled at this level or higherpublic void initialize()
Uses either timer based sampling or counter based sampling,
depending on Controller.options
.
initialize
in class Organizer
void thresholdReached()
Organizer
thresholdReached
in class Organizer