< prev index next >

src/share/vm/gc/g1/heapRegionSet.cpp

Print this page

        

@@ -228,11 +228,11 @@
       _tail = prev;
     } else {
       assert(_tail != curr, "%s", hrs_ext_msg(this, "invariant").buffer());
       next->set_prev(prev);
     }
-    if (_last = curr) {
+    if (_last == curr) {
       _last = NULL;
     }
 
     curr->set_next(NULL);
     curr->set_prev(NULL);
< prev index next >