From 7ca4963d0c92b1574e771d47b7d51ccbbe9cd29c Mon Sep 17 00:00:00 2001 From: david Date: Mon, 2 Nov 2015 10:41:39 +0100 Subject: [PATCH] 8141056: Erroneous assignment in HeapRegionSet.cpp Reviewed-by: tschatzl, pliden --- src/share/vm/gc_implementation/g1/heapRegionSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/share/vm/gc_implementation/g1/heapRegionSet.cpp b/src/share/vm/gc_implementation/g1/heapRegionSet.cpp index 9ffb46f83..213380e76 100644 --- a/src/share/vm/gc_implementation/g1/heapRegionSet.cpp +++ b/src/share/vm/gc_implementation/g1/heapRegionSet.cpp @@ -231,7 +231,7 @@ void FreeRegionList::remove_starting_at(HeapRegion* first, uint num_regions) { assert(_tail != curr, hrs_ext_msg(this, "invariant")); next->set_prev(prev); } - if (_last = curr) { + if (_last == curr) { _last = NULL; } -- GitLab