hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp
changeset 17855 9d0719d7bb85
parent 13756 3b72f3da8cd4
child 18439 725ce18186b3
--- a/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp	Tue May 28 09:32:06 2013 +0200
+++ b/hotspot/src/share/vm/gc_implementation/g1/heapRegion.cpp	Tue Jun 04 10:04:06 2013 -0700
@@ -139,7 +139,7 @@
         _n_failures++;
       }
 
-      if (!_g1h->full_collection()) {
+      if (!_g1h->full_collection() || G1VerifyRSetsDuringFullGC) {
         HeapRegion* from = _g1h->heap_region_containing((HeapWord*)p);
         HeapRegion* to   = _g1h->heap_region_containing(obj);
         if (from != NULL && to != NULL &&