hotspot/src/share/vm/gc/g1/heapRegionManager.cpp
changeset 32390 b0f6868d46ee
parent 32185 49a57ff2c3cb
child 32589 f86fb16fcab0
--- a/hotspot/src/share/vm/gc/g1/heapRegionManager.cpp	Mon Aug 24 16:27:41 2015 +0200
+++ b/hotspot/src/share/vm/gc/g1/heapRegionManager.cpp	Mon Aug 24 16:32:50 2015 +0200
@@ -428,7 +428,7 @@
 
     uncommit_regions(idx_last_found + num_last_found - to_remove, to_remove);
 
-    cur -= num_last_found;
+    cur = idx_last_found;
     removed += to_remove;
   }