--- old/src/share/vm/gc/g1/heapRegionManager.cpp 2015-08-21 09:53:44.490090616 +0200 +++ new/src/share/vm/gc/g1/heapRegionManager.cpp 2015-08-21 09:53:44.410088229 +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; }