vtableStubs.hpp revision 1890
1879N/A * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 1010N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1010N/A * This code is free software; you can redistribute it and/or modify it 1010N/A * under the terms of the GNU General Public License version 2 only, as 1010N/A * published by the Free Software Foundation. 1010N/A * This code is distributed in the hope that it will be useful, but WITHOUT 1010N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1010N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1010N/A * version 2 for more details (a copy is included in the LICENSE file that 1010N/A * You should have received a copy of the GNU General Public License version 1010N/A * 2 along with this work; if not, write to the Free Software Foundation, 1010N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1010N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1010N/A// A VtableStub holds an individual code stub for a pair (vtable index, #args) for either itables or vtables 1010N/A// There's a one-to-one relationship between a VtableStub and such a pair. 1010N/A /* code follows here */ // The vtableStub code 1010N/A // platform-dependent routines 1010N/A // CNC: Removed because vtable stubs are now made with an ideal graph 1010N/A // static bool pd_disregard_arg_size(); 1010N/A// VtableStubs creates the code stubs for compiled calls through vtables. 1010N/A// There is one stub per (vtable index, args_size) pair, and the stubs are 1010N/A// never deallocated. They don't need to be GCed because they contain no oops. 1010N/A public:
// N must be public (some compilers need this for _table) 1010N/A N =
256,
// size of stub table; must be power of two 1010N/A#
endif // SHARE_VM_CODE_VTABLESTUBS_HPP