#5272: Use shared HeapHooks manager