src/share/vm/oops/methodOop.cpp

Print this page




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 # include "incls/_precompiled.incl"
  26 # include "incls/_methodOop.cpp.incl"


























  27 
  28 
  29 // Implementation of methodOopDesc
  30 
  31 address methodOopDesc::get_i2c_entry() {
  32   assert(_adapter != NULL, "must have");
  33   return _adapter->get_i2c_entry();
  34 }
  35 
  36 address methodOopDesc::get_c2i_entry() {
  37   assert(_adapter != NULL, "must have");
  38   return _adapter->get_c2i_entry();
  39 }
  40 
  41 address methodOopDesc::get_c2i_unverified_entry() {
  42   assert(_adapter != NULL, "must have");
  43   return _adapter->get_c2i_unverified_entry();
  44 }
  45 
  46 char* methodOopDesc::name_and_sig_as_C_string() {




   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "classfile/systemDictionary.hpp"
  27 #include "code/debugInfoRec.hpp"
  28 #include "gc_interface/collectedHeap.inline.hpp"
  29 #include "interpreter/bytecodeStream.hpp"
  30 #include "interpreter/bytecodeTracer.hpp"
  31 #include "interpreter/bytecodes.hpp"
  32 #include "interpreter/interpreter.hpp"
  33 #include "interpreter/oopMapCache.hpp"
  34 #include "memory/gcLocker.hpp"
  35 #include "memory/generation.hpp"
  36 #include "memory/oopFactory.hpp"
  37 #include "oops/klassOop.hpp"
  38 #include "oops/methodDataOop.hpp"
  39 #include "oops/methodOop.hpp"
  40 #include "oops/oop.inline.hpp"
  41 #include "oops/symbolOop.hpp"
  42 #include "prims/jvmtiExport.hpp"
  43 #include "prims/methodHandleWalk.hpp"
  44 #include "prims/nativeLookup.hpp"
  45 #include "runtime/arguments.hpp"
  46 #include "runtime/compilationPolicy.hpp"
  47 #include "runtime/frame.inline.hpp"
  48 #include "runtime/handles.inline.hpp"
  49 #include "runtime/relocator.hpp"
  50 #include "runtime/sharedRuntime.hpp"
  51 #include "runtime/signature.hpp"
  52 #include "utilities/xmlstream.hpp"
  53 
  54 
  55 // Implementation of methodOopDesc
  56 
  57 address methodOopDesc::get_i2c_entry() {
  58   assert(_adapter != NULL, "must have");
  59   return _adapter->get_i2c_entry();
  60 }
  61 
  62 address methodOopDesc::get_c2i_entry() {
  63   assert(_adapter != NULL, "must have");
  64   return _adapter->get_c2i_entry();
  65 }
  66 
  67 address methodOopDesc::get_c2i_unverified_entry() {
  68   assert(_adapter != NULL, "must have");
  69   return _adapter->get_c2i_unverified_entry();
  70 }
  71 
  72 char* methodOopDesc::name_and_sig_as_C_string() {