United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7041879 G1: introduce stress testing parameter to cause frequent evacuation failures
JDK-7041879 : G1: introduce stress testing parameter to cause frequent evacuation failures

Details
Type:
Enhancement
Submit Date:
2011-05-04
Status:
Closed
Updated Date:
2013-07-18
Project Name:
JDK
Resolved Date:
2012-09-05
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs21
Fixed Versions:
hs24 (b22)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
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.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/c9814fadeb38
                                     
2012-08-29
SUGGESTED FIX

Use PromotionFailureALot as the base but extend it to in include being able to generate or not generate foreced evacuation failures during:

* young GCs
* initial mark GCs
* while concurrent marking is in progress.
* during mixed GCs.
                                     
2012-08-29



Hardware and Software, Engineered to Work Together