8141056: Erroneous assignment in HeapRegionSet.cpp

Reviewed-by: tschatzl, pliden
This commit is contained in:
David Lindholm 2015-11-02 10:41:39 +01:00
parent efc50b9049
commit c2d62e3cbe

View File

@ -230,7 +230,7 @@ void FreeRegionList::remove_starting_at(HeapRegion* first, uint num_regions) {
assert(_tail != curr, "%s", hrs_ext_msg(this, "invariant").buffer());
next->set_prev(prev);
}
if (_last = curr) {
if (_last == curr) {
_last = NULL;
}