author | david |
Mon, 02 Nov 2015 10:41:39 +0100 | |
changeset 33752 | 0782a966d781 |
parent 33751 | 5cc611ec85b3 |
child 33753 | 3add06d0880f |
--- a/hotspot/src/share/vm/gc/g1/heapRegionSet.cpp Mon Nov 02 19:38:49 2015 +0000 +++ b/hotspot/src/share/vm/gc/g1/heapRegionSet.cpp Mon Nov 02 10:41:39 2015 +0100 @@ -230,7 +230,7 @@ assert(_tail != curr, "%s", hrs_ext_msg(this, "invariant").buffer()); next->set_prev(prev); } - if (_last = curr) { + if (_last == curr) { _last = NULL; }