#5272: Implements shared HeapHooks manager