Support HeapStatsMBean.