private String getInternalName(Klass k) {
		ByteArrayOutputStream bos = new ByteArrayOutputStream();
		klass.printValueOn(new PrintStream(bos));
		// '*' is used to denote VM internal klasses.
		return "* " + bos.toString();
	}
private String getInternalName ( Klass k ) { ByteArrayOutputStream bos = new ByteArrayOutputStream ( ) ; klass . printValueOn ( new PrintStream ( bos ) ) ; return "* " + bos . toString ( ) ; }
参考 sun.jvm.hotspot.oops.ObjectHistogramElement