Example for object allocation statistics:
java -Xrunhprof:heap=sites,monitor=n,cutoff=0,depth=4 MyClass