latestRecord++;
// is this an object record?
if(subRecord instanceof IGCInstanceHeapDumpRecord) {
IGCInstanceHeapDumpRecord instance = (IGCInstanceHeapDumpRecord) subRecord;
nextObject = new JavaObjectInstanceImpl(JavaHeapImpl.this, instance);
return true;
} else if (subRecord instanceof IGCObjectArrayHeapDumpRecord) {
IGCObjectArrayHeapDumpRecord objArray = (IGCObjectArrayHeapDumpRecord) subRecord;