3979N/A * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 342N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 342N/A * This code is free software; you can redistribute it and/or modify it 342N/A * under the terms of the GNU General Public License version 2 only, as 342N/A * published by the Free Software Foundation. 342N/A * This code is distributed in the hope that it will be useful, but WITHOUT 342N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 342N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 342N/A * version 2 for more details (a copy is included in the LICENSE file that 342N/A * accompanied this code). 342N/A * You should have received a copy of the GNU General Public License version 342N/A * 2 along with this work; if not, write to the Free Software Foundation, 342N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1472N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 342N/A// Inline functions for G1CollectedHeap 342N/A // hr can be null if addr in perm_gen 2280N/A "be called for humongous allocation requests");
2655N/A "we should not be seeing humongous-size allocations in this path");
2655N/A "we should not be seeing humongous-size allocations in this path");
1880N/A// It dirties the cards that cover the block so that so that the post 1880N/A// write barrier never queues anything when updating objects on this 1880N/A// block. It is assumed (and in fact we assert) that the block 1880N/A// belongs to a young region. 1880N/A // Assign the containing region to containing_hr so that we don't 1880N/A // have to keep calling heap_region_containing_raw() in the 3979N/A// Support for G1EvacuationFailureALot 3979N/A // Note we can't assert that _evacuation_failure_alot_for_current_gc 3979N/A // is clear here. It may have been set during a previous GC but that GC 3979N/A // did not copy enough objects (i.e. G1EvacuationFailureALotCount) to 3979N/A // trigger an evacuation failure and clear the flags and and counts. 3979N/A // Check if we have gone over the interval. 3979N/A // Now check if G1EvacuationFailureALot is enabled for the current GC type. 3979N/A // G1EvacuationFailureALot is in effect for current GC 3979N/A // Access to _evacuation_failure_alot_count is not atomic; 3979N/A // the value does not have to be exact. 1879N/A#
endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1COLLECTEDHEAP_INLINE_HPP