JDK-7055073 : G1: code cleanup in the concurrentMark.* files
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs22
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2011-06-15
  • Updated: 2013-09-18
  • Resolved: 2011-09-30
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
7u2Fixed 8Fixed hs22Fixed
Description
The concurrentMark.* files have some stylistic nuisances compared to the rest of G1 and the majority of HotSpot code. In particular, if- and if-else- statements often are missing the curly brackets if the body is a single line. This is in direct violation to what happens in the rest of the HotSpot codebase.

This is a non-essential but simple change but helpful to make those files more consistent with the rest of the codebase.

Comments
EVALUATION http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/23d434c6290d
08-07-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/23d434c6290d
08-07-2011

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/23d434c6290d
21-06-2011

EVALUATION See Description.
15-06-2011