CollectorPolicy::mem_allocate_work and satisfy_failed_allocation are pure virtuals on CollectorPolicy but are only used by GenCollectorPolicy/GenCollectedHeap. The other collectors stub the methods out with fatal errors if they are called.
Suggested fix is to move the methods to GenCollectorPolicy and let GenCollectedHeap access them through its typed pointer to the Gen policy.
Suggested fix is to move the methods to GenCollectorPolicy and let GenCollectedHeap access them through its typed pointer to the Gen policy.