src/share/vm/code/vtableStubs.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/code/vtableStubs.hpp	Wed Sep  4 10:22:22 2013
--- new/src/share/vm/code/vtableStubs.hpp	Wed Sep  4 10:22:22 2013

*** 1,7 **** --- 1,7 ---- /* ! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. ! * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. * 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.
*** 119,131 **** --- 119,133 ---- static VtableStub* create_vtable_stub(int vtable_index); static VtableStub* create_itable_stub(int vtable_index); static VtableStub* lookup (bool is_vtable_stub, int vtable_index); static void enter (bool is_vtable_stub, int vtable_index, VtableStub* s); static inline uint hash (bool is_vtable_stub, int vtable_index); + static address find_stub (bool is_vtable_stub, int vtable_index); public: ! static address create_stub(bool is_vtable_stub, int vtable_index, Method* method); // return the entry point of a stub for this call ! static address find_vtable_stub(int vtable_index) { return find_stub(true, vtable_index); } + static address find_itable_stub(int itable_index) { return find_stub(false, itable_index); } static bool is_entry_point(address pc); // is pc a vtable stub entry point? static bool contains(address pc); // is pc within any stub? static VtableStub* stub_containing(address pc); // stub containing pc or NULL static int number_of_vtable_stubs() { return _number_of_vtable_stubs; } static void initialize();

src/share/vm/code/vtableStubs.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File