United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6978533 CMS: Elide BOT update asserts until 6977974 is fixed correctly
JDK-6978533 : CMS: Elide BOT update asserts until 6977974 is fixed correctly

Details
Type:
Bug
Submit Date:
2010-08-19
Status:
Closed
Updated Date:
2011-03-07
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs19
Fixed Versions:
hs19 (b06)

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
As in synopsis. Watch 6977974 for the sequel.

                                    

Comments
EVALUATION

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

-XX:SuppressErrorAt=....
                                     
2010-08-19
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;
       }
     }
                                     
2010-08-19
EVALUATION

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



Hardware and Software, Engineered to Work Together