| java.lang.Object org.netbeans.lib.profiler.heap.HeapFactory
HeapFactory | public class HeapFactory (Code) | | This is factory class for creating
Heap from the file in Hprof dump format.
author: Tomas Hurka |
Method Summary | |
public static Heap | createHeap(File heapDump) this factory method creates
Heap from a memory dump file in Hprof format. | public static Heap | createHeap(File heapDump, int segment) this factory method creates
Heap from a memory dump file in Hprof format. |
createHeap | public static Heap createHeap(File heapDump, int segment) throws FileNotFoundException, IOException(Code) | | this factory method creates
Heap from a memory dump file in Hprof format.
If the memory dump file contains more than one dump, paramer segment is used to
select particular dump.
Speed: slow
implementation of Heap corresponding to the memory dumppassed in heapDump parameter Parameters: segment - select corresponding dump from multi-dump file Parameters: heapDump - file which contains memory dump throws: java.io.FileNotFoundException - if heapDump file does not exist throws: java.io.IOException - if I/O error occurred while accessing heapDump file |
|
|