Update HprofParser.java

self-test