JDK-6978533 : CMS: Elide BOT update asserts until 6977974 is fixed correctly
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs19
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-08-19
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
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.
Other JDK 6 JDK 7 Other
1.4.2_31,hs19Fixed 6u21pFixed 7Fixed hs19Fixed
Related Reports
Relates :  
Relates :  
Description
As in synopsis. Watch 6977974 for the sequel.

Comments
EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-gc/hotspot/rev/52f2bc645da5
20-08-2010

SUGGESTED FIX diff -r effb55808a18 src/share/vm/memory/blockOffsetTable.hpp --- a/src/share/vm/memory/blockOffsetTable.hpp Wed Aug 18 17:44:33 2010 -0400 +++ b/src/share/vm/memory/blockOffsetTable.hpp Thu Aug 19 11:58:22 2010 -0700 @@ -163,7 +163,8 @@ class BlockOffsetSharedArray: public CHe size_t i = index_for(left); const size_t end = i + num_cards; for (; i < end; i++) { - assert(!reducing || _offset_array[i] >= offset, "Not reducing"); + // Elided until CR 6977974 is fixed properly. + // assert(!reducing || _offset_array[i] >= offset, "Not reducing"); _offset_array[i] = offset; } } @@ -184,7 +185,8 @@ class BlockOffsetSharedArray: public CHe size_t i = left; const size_t end = i + num_cards; for (; i < end; i++) { - assert(!reducing || _offset_array[i] >= offset, "Not reducing"); + // Elided until CR 6977974 is fixed properly. + // assert(!reducing || _offset_array[i] >= offset, "Not reducing"); _offset_array[i] = offset; } }
19-08-2010

EVALUATION Elide the newly added asserts which uncovered a pre-existing issue. Pre-existing issue will be addressed under CR 6977974.
19-08-2010

WORK AROUND -XX:SuppressErrorAt=....
19-08-2010