--- a/hotspot/src/share/vm/services/virtualMemoryTracker.cpp Tue Oct 06 08:05:11 2015 +0200
+++ b/hotspot/src/share/vm/services/virtualMemoryTracker.cpp Tue Oct 06 14:27:39 2015 -0400
@@ -84,10 +84,7 @@
return _committed_regions.insert_after(committed_rgn, node) != NULL;
}
}
- // If we have reached this point, then we are trying to commit a region that overlaps with some existing committed regions.
- remove_uncommitted_region(addr, size);
- add_committed_region(committed_rgn);
-
+ assert(rgn->contain_region(addr, size), "Must cover this region");
return true;
} else {
// New committed region