heapInspection.cpp revision 517
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * Copyright 2002-2008 Sun Microsystems, Inc. All Rights Reserved.
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * This code is free software; you can redistribute it and/or modify it
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * under the terms of the GNU General Public License version 2 only, as
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * published by the Free Software Foundation.
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * This code is distributed in the hope that it will be useful, but WITHOUT
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * version 2 for more details (a copy is included in the LICENSE file that
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * accompanied this code).
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * You should have received a copy of the GNU General Public License version
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * 2 along with this work; if not, write to the Free Software Foundation,
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
f30ee734ac0ee8b792c77ab3bc42494fcddb1508hajma * CA 95054 USA or visit www.sun.com if you need additional information or
# include "incls/_heapInspection.cpp.incl"
const char* name;;
name);
return elt;
return elt;
delete elt;
_size = 0;
_size = 0;
delete _elements;
bool is_shared_heap = false;
is_shared_heap = true;
#ifndef SERIALGC
if (missed_count != 0) {
if (is_shared_heap) {