--- a/hotspot/src/share/vm/gc_implementation/g1/sparsePRT.cpp Thu Oct 14 10:38:14 2010 -0400
+++ b/hotspot/src/share/vm/gc_implementation/g1/sparsePRT.cpp Fri Oct 15 17:26:56 2010 -0400
@@ -323,10 +323,7 @@
}
size_t /* RSHashTable:: */ RSHashTableIter::compute_card_ind(CardIdx_t ci) {
- return
- _heap_bot_card_ind
- + (_rsht->entry(_bl_ind)->r_ind() * HeapRegion::CardsPerRegion)
- + ci;
+ return (_rsht->entry(_bl_ind)->r_ind() * HeapRegion::CardsPerRegion) + ci;
}
bool /* RSHashTable:: */ RSHashTableIter::has_next(size_t& card_index) {