changeset 9674:a9fecf7a6e6d

8141056: Erroneous assignment in HeapRegionSet.cpp Reviewed-by: tschatzl, pliden
author david
date Mon, 02 Nov 2015 10:41:39 +0100
parents 9e7d1e562f69
children 923bde1cd574
files src/share/vm/gc/g1/heapRegionSet.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/g1/heapRegionSet.cpp	Mon Nov 02 19:38:49 2015 +0000
+++ b/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;
     }