public class HotspotMemoryProfiler extends Object
| Constructor and Description |
|---|
HotspotMemoryProfiler() |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends Result> |
afterIteration(BenchmarkParams benchmarkParams,
IterationParams iterationParams,
IterationResult result)
Run this code after a benchmark iteration finished
|
void |
beforeIteration(BenchmarkParams benchmarkParams,
IterationParams iterationParams)
Run this code before starting the next benchmark iteration.
|
static Long |
convert(Object o) |
protected org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotInternalResult |
counters() |
List<sun.management.counter.Counter> |
getCounters()
Returns internal counters for specific MXBean
|
String |
getDescription()
Human-readable one-line description of the profiler.
|
static <T> T |
getInstance(String name) |
public HotspotMemoryProfiler()
throws ProfilerException
ProfilerExceptionpublic List<sun.management.counter.Counter> getCounters()
public String getDescription()
Profilerpublic Collection<? extends Result> afterIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams, IterationResult result)
InternalProfilerafterIteration in interface InternalProfilerbenchmarkParams - benchmark parameters used for current launchiterationParams - iteration parameters used for current launchresult - iteration resultpublic void beforeIteration(BenchmarkParams benchmarkParams, IterationParams iterationParams)
InternalProfilerbeforeIteration in interface InternalProfilerbenchmarkParams - benchmark parameters used for current launchiterationParams - iteration parameters used for current launchprotected org.openjdk.jmh.profile.AbstractHotspotProfiler.HotspotInternalResult counters()
public static <T> T getInstance(String name)
Copyright © 2012-2015 Oracle. All Rights Reserved.