mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +02:00
7200261: G1: Liveness counting inconsistencies during marking verification
The clipping code in the routine that sets the bits for a range of cards, in the liveness accounting verification code was incorrect. It set all the bits in the card bitmap from the given starting index which would lead to spurious marking verification failures. Reviewed-by: brutisso, jwilhelm, jmasa
This commit is contained in:
parent
ceccaf4577
commit
157b8fa41b
3 changed files with 155 additions and 96 deletions
|
@ -806,7 +806,14 @@ public:
|
|||
return _MARKING_VERBOSE_ && _verbose_level >= high_verbose;
|
||||
}
|
||||
|
||||
// Counting data structure accessors
|
||||
// Liveness counting
|
||||
|
||||
// Utility routine to set an exclusive range of cards on the given
|
||||
// card liveness bitmap
|
||||
inline void set_card_bitmap_range(BitMap* card_bm,
|
||||
BitMap::idx_t start_idx,
|
||||
BitMap::idx_t end_idx,
|
||||
bool is_par);
|
||||
|
||||
// Returns the card number of the bottom of the G1 heap.
|
||||
// Used in biasing indices into accounting card bitmaps.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue