refactoring AbsHeapHandler