HprofHeap(File dumpFile, int seg) throws FileNotFoundException, IOException { dumpBuffer = HprofByteBuffer.createHprofByteBuffer(dumpFile); segment = seg; fillTagBounds(dumpBuffer.getHeaderSize()); heapDumpSegment = computeHeapDumpStart(); if (heapDumpSegment != null) { fillHeapTagBounds(); } idToOffsetMap = new LongMap(idMapSize,dumpBuffer.getIDSize(),dumpBuffer.getFoffsetSize()); nearestGCRoot = new NearestGCRoot(this); }