src/share/vm/interpreter/cppInterpreter.cpp

Print this page
rev 2237 : [mq]: initial-intrinsification-changes
rev 2239 : [mq]: client_assertion_fauilure
   1 /*
   2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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  *


 108   }
 109 
 110 
 111 #define method_entry(kind) Interpreter::_entry_table[Interpreter::kind] = generate_method_entry(Interpreter::kind)
 112 
 113   { CodeletMark cm(_masm, "(kind = frame_manager)");
 114     // all non-native method kinds
 115     method_entry(zerolocals);
 116     method_entry(zerolocals_synchronized);
 117     method_entry(empty);
 118     method_entry(accessor);
 119     method_entry(abstract);
 120     method_entry(method_handle);
 121     method_entry(java_lang_math_sin   );
 122     method_entry(java_lang_math_cos   );
 123     method_entry(java_lang_math_tan   );
 124     method_entry(java_lang_math_abs   );
 125     method_entry(java_lang_math_sqrt  );
 126     method_entry(java_lang_math_log   );
 127     method_entry(java_lang_math_log10 );

 128     Interpreter::_native_entry_begin = Interpreter::code()->code_end();
 129     method_entry(native);
 130     method_entry(native_synchronized);
 131     Interpreter::_native_entry_end = Interpreter::code()->code_end();
 132   }
 133 
 134 
 135 #undef method_entry
 136 
 137 }
 138 
 139 #endif // CC_INTERP
   1 /*
   2  * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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  *


 108   }
 109 
 110 
 111 #define method_entry(kind) Interpreter::_entry_table[Interpreter::kind] = generate_method_entry(Interpreter::kind)
 112 
 113   { CodeletMark cm(_masm, "(kind = frame_manager)");
 114     // all non-native method kinds
 115     method_entry(zerolocals);
 116     method_entry(zerolocals_synchronized);
 117     method_entry(empty);
 118     method_entry(accessor);
 119     method_entry(abstract);
 120     method_entry(method_handle);
 121     method_entry(java_lang_math_sin   );
 122     method_entry(java_lang_math_cos   );
 123     method_entry(java_lang_math_tan   );
 124     method_entry(java_lang_math_abs   );
 125     method_entry(java_lang_math_sqrt  );
 126     method_entry(java_lang_math_log   );
 127     method_entry(java_lang_math_log10 );
 128     method_entry(java_lang_ref_reference_get);
 129     Interpreter::_native_entry_begin = Interpreter::code()->code_end();
 130     method_entry(native);
 131     method_entry(native_synchronized);
 132     Interpreter::_native_entry_end = Interpreter::code()->code_end();
 133   }
 134 
 135 
 136 #undef method_entry
 137 
 138 }
 139 
 140 #endif // CC_INTERP