PrintWriter out = getOutput().getPrintWriter();
out.println(STR_ON_HEAP);
ObjectFilter filter = null;
if (className.isSet()) {
SimpleObjectFilter f = new SimpleObjectFilter();
f.setClassName(className.getValues());
filter = f;
}
final HeapStatistics stats = VmUtils.getVm().getHeapManager().getHeapStatistics(filter);