IGCInstanceHeapDumpRecord instance = (IGCInstanceHeapDumpRecord) subRecord;
nextObject = new JavaObjectInstanceImpl(JavaHeapImpl.this, instance);
return true;
} else if (subRecord instanceof IGCObjectArrayHeapDumpRecord) {
IGCObjectArrayHeapDumpRecord objArray = (IGCObjectArrayHeapDumpRecord) subRecord;
nextObject = new JavaObjectArrayImpl(JavaHeapImpl.this, objArray);
return true;
} else if (subRecord instanceof IGCPrimitiveArrayHeapDumpRecord) {
IGCPrimitiveArrayHeapDumpRecord primArray = (IGCPrimitiveArrayHeapDumpRecord) subRecord;
nextObject = new JavaPrimitiveArrayImpl(JavaHeapImpl.this, primArray);