_numberOfClasses = 0;
Object verboseModeStr = properties.get("verbose.mode");
_verbose = verboseModeStr != null ? verboseModeStr.equals("on") : false;
ImageAddressSpace addressSpace = (ImageAddressSpace) properties.get("current_address_space");
if(addressSpace == null) {
out.error("Couldn't get handle on address space");
return;
}
JavaRuntime runtime = getRuntime(addressSpace);
if(runtime == null) {
return;
}
if(! heapArgumentsAreValid(runtime,heapsToDump)) {
return;
}
String version = getVersionString(runtime);
boolean is64Bit = addressSpace.getCurrentProcess().getPointerSize() == 64;
String filename = HeapDumpSettings.getFileName(properties);
boolean phdFormat = HeapDumpSettings.areHeapDumpsPHD(properties);
try {
if(HeapDumpSettings.multipleHeapsInMultipleFiles(properties)) {