Details
Description
The mechanism to inject evacuation failure is located in G1CollectedHeap. Since it is only enabled in non-product builds and otherwise separate, extract it from G1CollectedHeap into a separate class so that this functionality does not clog up the G1CollectedHeap as much.