United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7130974 G1: Remove G1ParCopyHelper
JDK-7130974 : G1: Remove G1ParCopyHelper

Details
Type:
Enhancement
Submit Date:
2012-01-18
Status:
Resolved
Updated Date:
2013-06-26
Project Name:
JDK
Resolved Date:
2012-04-11
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs24
Fixed Versions:
hs24 (b07)

Related Reports
Backport:
Backport:
Backport:
Duplicate:

Sub Tasks

Description
The G1ParCopyHelper class only seems to be used to work around template issues for G1ParCopyClosure. It is possible to solve these issues without G1ParCopyHelper, making G1ParCopyClosure inherit directly from G1ParClosureSuper.

This will reduce the code complexity a bit and also remove the kind of scary dependency between G1ParCopyHelper and G1ParCopyClosure wrt the initialization of the _scanner field.

Attaching a patch for how to do this. The patch is based on hotspot-gc changeset: 2946:2ace1c4ee8da.

                                    

Comments
EVALUATION

Fix is out for review.
                                     
2012-03-14
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/748051fd24ce
                                     
2012-04-02



Hardware and Software, Engineered to Work Together