It would be helpful to introduce a testing parameter in G1 which causes frequent evacuation failures to stress test the evacuation failure handling code. Other GCs use the following two parameters for this: PromotionFailureALot and PromotionFailureALotCount. We could either re-use them or rename them in a more G1-friendly way.
|