Mercurial > hg > release > icedtea-1.9
view ports/hotspot/src/share/vm/shark/sharkEntry.cpp @ 1740:f51dcb5de1a9
2009-03-05 Gary Benson <gbenson@redhat.com>
* ports/hotspot/src/share/vm/shark/sharkEntry.hpp
(SharkEntry::_code_start): Renamed from start.
(SharkEntry::_code_limit): Renamed from limit.
(SharkEntry::set_bounds): Renamed from setBounds.
(SharkEntry::print_pd_statistics): Removed.
* ports/hotspot/src/share/vm/shark/sharkEntry.cpp
(SharkEntry::print_pd_statistics): Likewise.
(SharkEntry::print_statistics): Don't call the above.
* ports/hotspot/src/share/vm/shark/sharkBuilder.cpp
(SharkBuilder::MyJITMemoryManager::endFunctionBody):
Fix for setBounds rename.
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Thu, 05 Mar 2009 09:14:30 -0500 |
parents | 0a28d5bcf18e |
children |
line wrap: on
line source
/* * Copyright 1999-2007 Sun Microsystems, Inc. All Rights Reserved. * Copyright 2008, 2009 Red Hat, Inc. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * You should have received a copy of the GNU General Public License version * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, * CA 95054 USA or visit www.sun.com if you need additional information or * have any questions. * */ #include "incls/_precompiled.incl" #include "incls/_sharkEntry.cpp.incl" #ifndef PRODUCT void SharkEntry::print_statistics(const char* name) const { address start = code_start(); address limit = code_limit(); tty->print_cr( " [%p-%p): %s (%d bytes code)", start, limit, name, limit - start); } #endif // !PRODUCT