comparison src/share/vm/memory/genRemSet.hpp @ 6:73e96e5c30df

6624765: Guarantee failure "Unexpected dirty card found" Summary: In verification take into account partial coverage of a region by a card and expansion of the card table. Reviewed-by: ysr, apetrusenko
author jmasa
date Fri, 15 Feb 2008 07:01:10 -0800
parents a61af66fc99e
children ba764ed4b6f2
comparison
equal deleted inserted replaced
5:f21b879b4c72 6:73e96e5c30df
89 static uintx max_alignment_constraint(Name nm); 89 static uintx max_alignment_constraint(Name nm);
90 90
91 virtual void verify() = 0; 91 virtual void verify() = 0;
92 92
93 // Verify that the remembered set has no entries for 93 // Verify that the remembered set has no entries for
94 // the heap interval denoted by mr. 94 // the heap interval denoted by mr. If there are any
95 virtual void verify_empty(MemRegion mr) = 0; 95 // alignment constraints on the remembered set, only the
96 // part of the region that is aligned is checked.
97 //
98 // alignment boundaries
99 // +--------+-------+--------+-------+
100 // [ region mr )
101 // [ part checked )
102 virtual void verify_aligned_region_empty(MemRegion mr) = 0;
96 103
97 // If appropriate, print some information about the remset on "tty". 104 // If appropriate, print some information about the remset on "tty".
98 virtual void print() {} 105 virtual void print() {}
99 106
100 // Informs the RS that the given memregion contains no references to 107 // Informs the RS that the given memregion contains no references to