JDK-6855115 : G1: Fix for 6850869 is incorrect
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs16
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-06-25
  • Updated: 2013-09-18
  • Resolved: 2009-07-15
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 6 JDK 7 Other
6u18Fixed 7Fixed hs16Fixed
Related Reports
Relates :  
Description
My fix for 6850869 is actually incorrect (and thanks to Ramki for spotting it).

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/3eb9872b10ce
29-06-2009

SUGGESTED FIX See Evaluation
25-06-2009

EVALUATION The bug is in the following code: 1258 size_t end_index = index + 1; 1259 while (index < g1h->n_regions()) { 1260 HeapRegion* chr = g1h->region_at(index); 1261 if (!chr->continuesHumongous()) { 1262 break; 1263 } 1264 end_index += 1; 1265 } 1266 _region_bm->par_at_put_range((BitMap::idx_t) index, 1267 (BitMap::idx_t) end_index, true); On lines 1259 and 1260, index should have been end_index.
25-06-2009