6923430: G1: assert(res != 0,"This should have worked.")
7007446: G1: expand the heap with a single step, not one region at a time
Summary: Changed G1CollectedHeap::expand() to expand the committed space by calling VirtualSpace::expand_by() once rather than for every region in the expansion amount. This allows the success or failure of the expansion to be determined before creating any heap regions. Introduced a develop flag G1ExitOnExpansionFailure (false by default) that, when true, will exit the VM if the expansion of the committed space fails. Finally G1CollectedHeap::expand() returns a status back to it's caller so that the caller knows whether to attempt the allocation.
Reviewed-by: brutisso, tonyp
README:
This file should be located at the top of the Mercurial repository.
See http://openjdk.java.net/ for more information about the OpenJDK.
See ../README-builds.html for complete details on build machine requirements.
Simple Build Instructions:
This repository can be loaded as a NetBeans project, built with ant, or
built with GNU make, e.g.
ant
-OR-
cd make && gnumake
The built files that will be imported into the jdk build will be in the
"dist" directory.
Help information is available by running "ant -projecthelp" or "make help".
Drop Repository:
This repository builds sources from a created "drop" source directory.
These files will normally be copied from a shared directory area or
downloaded from a public website.
See the ant build script (build.xml) for more details.