annotate ASSEMBLY_EXCEPTION @ 2076:c33825b68624

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
author johnc
date Wed, 02 Feb 2011 10:41:20 -0800
parents a61af66fc99e
children
rev   line source
duke@0 1
duke@0 2 OPENJDK ASSEMBLY EXCEPTION
duke@0 3
trims@1472 4 The OpenJDK source code made available by Oracle at openjdk.java.net and
duke@0 5 openjdk.dev.java.net ("OpenJDK Code") is distributed under the terms of the
duke@0 6 GNU General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
duke@0 7 only ("GPL2"), with the following clarification and special exception.
duke@0 8
duke@0 9 Linking this OpenJDK Code statically or dynamically with other code
duke@0 10 is making a combined work based on this library. Thus, the terms
duke@0 11 and conditions of GPL2 cover the whole combination.
duke@0 12
trims@1472 13 As a special exception, Oracle gives you permission to link this
trims@1472 14 OpenJDK Code with certain code licensed by Oracle as indicated at
duke@0 15 http://openjdk.java.net/legal/exception-modules-2007-05-08.html
duke@0 16 ("Designated Exception Modules") to produce an executable,
duke@0 17 regardless of the license terms of the Designated Exception Modules,
duke@0 18 and to copy and distribute the resulting executable under GPL2,
duke@0 19 provided that the Designated Exception Modules continue to be
trims@1472 20 governed by the licenses under which they were offered by Oracle.
duke@0 21
trims@1472 22 As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code to
trims@1472 23 build an executable that includes those portions of necessary code that Oracle
trims@1472 24 could not provide under GPL2 (or that Oracle has provided under GPL2 with the
duke@0 25 Classpath exception). If you modify or add to the OpenJDK code, that new
duke@0 26 GPL2 code may still be combined with Designated Exception Modules if the
duke@0 27 new code is made subject to this exception by its copyright holder.