2362N/A * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. 2362N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A//////////////////// HeapRegionSetBase //////////////////// 0N/A // The _containing_set field is only available when ASSERT is defined. 0N/A // It's important that we also observe the MT safety protocol even 0N/A // for the verification calls. If we do verification without the 0N/A // appropriate locks and the set changes underneath our feet 0N/A // verification might fail and send us on a wild goose chase. 0N/A // See comment in verify() about MT safety and verification. 0N/A // Do the basic verification first before we do the checks over the regions. 0N/A // See comment in verify() about MT safety and verification. 0N/A // See comment in verify() about MT safety and verification. 0N/A//////////////////// HeapRegionSet //////////////////// hrs_err_msg(
"[%s] proxy set region num: %u should be <= region num: %u",
//////////////////// HeapRegionLinkedList //////////////////// // In set_containing_set() we check that we either set the value // from NULL to non-NULL or vice versa to catch bugs. So, we have // to NULL it first before setting it to the value. // In set_containing_set() we check that we either set the value // from NULL to non-NULL or vice versa to catch bugs. So, we have // to NULL it first before setting it to the value. hrs_err_msg(
"[%s] should not come across more regions " "pending for removal than target_count: %u",
// If we have come across the target number of regions we can // just bail out. However, for debugging purposes, we can just // carry on iterating to make sure there are not more regions // tagged with pending removal. hrs_err_msg(
"[%s] count: %u should be == target_count: %u",
"new length: %u old length: %u target_count: %u",
// See comment in HeapRegionSetBase::verify() about MT safety and // This will also do the basic verification too. "seems very long, is there maybe a cycle? "