hotspot/src/share/vm/gc/g1/heapRegion.cpp
changeset 46611 3b8b1f7ee3b4
parent 46520 de5cb3eed39b
child 46630 75aa3e39d02c
--- a/hotspot/src/share/vm/gc/g1/heapRegion.cpp	Mon Jul 03 14:24:07 2017 +0200
+++ b/hotspot/src/share/vm/gc/g1/heapRegion.cpp	Mon Jul 03 17:19:11 2017 +0200
@@ -579,10 +579,9 @@
 
         bool is_bad = !(from->is_young()
           || to->rem_set()->contains_reference(p)
-          || !G1HRRSFlushLogBuffersOnVerify && // buffers were not flushed
-          (_containing_obj->is_objArray() ?
-          cv_field == dirty
-          : cv_obj == dirty || cv_field == dirty));
+          || (_containing_obj->is_objArray() ?
+                cv_field == dirty :
+                cv_obj == dirty || cv_field == dirty));
         if (is_bad) {
           MutexLockerEx x(ParGCRareEvent_lock,
             Mutex::_no_safepoint_check_flag);