refactoring methods in AbsHeapHandler