com.jrockit.memleak
Interface TrendAnalysisCallback
public interface TrendAnalysisCallback
Callback interface for receiving heap histograms whenever a full garbage
collection has completed. The data for a heap histogram can only be gathered
during a garbage collection (an old collection if the heap is generational).
Thus, using a callback instead of asking for heap histograms periodically
avoids triggering unnecessary garbage collections.
- See Also:
IMemLeak.setTrendAnalysisCallback(TrendAnalysisCallback)
receiveHeapHistogram
void receiveHeapHistogram(IHeapHistogram hh)
- Receive a histogram over heap usage including growth rate, by types.
- Parameters:
hh
- the heap histogram
Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.