JDK-7130974 : G1: Remove G1ParCopyHelper
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-01-18
  • Updated: 2013-09-18
  • Resolved: 2012-04-11
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 Other
7u40Fixed 8Fixed hs24Fixed
Related Reports
Duplicate :  
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 http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/748051fd24ce
02-04-2012

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