changeset 9686:86eba50b37c0

Merge
author coleenp
date Wed, 04 Nov 2015 19:52:04 +0000
parents 9c99ce707b0b fe54119ce75f
children e2d20356b596
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/g1CollectedHeap.cpp	Wed Nov 04 14:32:51 2015 -0500
+++ b/src/share/vm/gc/g1/g1CollectedHeap.cpp	Wed Nov 04 19:52:04 2015 +0000
@@ -3613,7 +3613,7 @@
           // The remembered set might contain references to already freed
           // regions. Filter out such entries to avoid failing card table
           // verification.
-          if (!g1h->heap_region_containing(bs->addr_for(card_ptr))->is_free()) {
+          if (g1h->is_in_closed_subset(bs->addr_for(card_ptr))) {
             if (*card_ptr != CardTableModRefBS::dirty_card_val()) {
               *card_ptr = CardTableModRefBS::dirty_card_val();
               _dcq.enqueue(card_ptr);