United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 6966222 G1: simplify TaskQueue overflow handling
6966222 : G1: simplify TaskQueue overflow handling

Details
Type:
Enhancement
Submit Date:
2010-07-02
Status:
Closed
Updated Date:
2011-04-23
Project Name:
JDK
Resolved Date:
2011-04-23
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs19
Fixed Versions:
hs19

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

Sub Tasks

Description
The G1 collector maintains TaskQueues and associated overflow stacks in instances of G1ParScanThreadState, and has custom code to collect statistics on TaskQueue operations.  These should be changed to use OverflowTaskQueue, which has built-in overflow handling and statistics, to reduce code duplication.

                                    

Comments
SUGGESTED FIX

Attached as 6966222.patch.zip.
                                     
2010-08-10
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/5f429ee79634
                                     
2010-08-09
EVALUATION

See description.
                                     
2010-07-02



Hardware and Software, Engineered to Work Together