src/share/vm/ci/ciMethod.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 6914206 Sdiff src/share/vm/ci

src/share/vm/ci/ciMethod.hpp

Print this page


   1 /*
   2  * Copyright 1999-2009 Sun Microsystems, Inc.  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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *


 198                  Bytecodes::Code bc);
 199   bool should_exclude();
 200   bool should_inline();
 201   bool should_not_inline();
 202   bool should_print_assembly();
 203   bool break_at_execute();
 204   bool has_option(const char *option);
 205   bool can_be_compiled();
 206   bool can_be_osr_compiled(int entry_bci);
 207   void set_not_compilable();
 208   bool has_compiled_code();
 209   int  instructions_size();
 210   void log_nmethod_identity(xmlStream* log);
 211   bool is_not_reached(int bci);
 212   bool was_executed_more_than(int times);
 213   bool has_unloaded_classes_in_signature();
 214   bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const;
 215   bool check_call(int refinfo_index, bool is_static) const;
 216   void build_method_data();  // make sure it exists in the VM also
 217   int scale_count(int count, float prof_factor = 1.);  // make MDO count commensurate with IIC


 218   bool is_method_handle_invoke() const;

 219   ciInstance* method_handle_type();
 220 
 221   // What kind of ciObject is this?
 222   bool is_method()                               { return true; }
 223 
 224   // Java access flags
 225   bool is_public      () const                   { return flags().is_public(); }
 226   bool is_private     () const                   { return flags().is_private(); }
 227   bool is_protected   () const                   { return flags().is_protected(); }
 228   bool is_static      () const                   { return flags().is_static(); }
 229   bool is_final       () const                   { return flags().is_final(); }
 230   bool is_synchronized() const                   { return flags().is_synchronized(); }
 231   bool is_native      () const                   { return flags().is_native(); }
 232   bool is_interface   () const                   { return flags().is_interface(); }
 233   bool is_abstract    () const                   { return flags().is_abstract(); }
 234   bool is_strict      () const                   { return flags().is_strict(); }
 235 
 236   // Other flags
 237   bool is_empty_method() const;
 238   bool is_vanilla_constructor() const;


   1 /*
   2  * Copyright 1999-2010 Sun Microsystems, Inc.  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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
  20  * CA 95054 USA or visit www.sun.com if you need additional information or
  21  * have any questions.
  22  *


 198                  Bytecodes::Code bc);
 199   bool should_exclude();
 200   bool should_inline();
 201   bool should_not_inline();
 202   bool should_print_assembly();
 203   bool break_at_execute();
 204   bool has_option(const char *option);
 205   bool can_be_compiled();
 206   bool can_be_osr_compiled(int entry_bci);
 207   void set_not_compilable();
 208   bool has_compiled_code();
 209   int  instructions_size();
 210   void log_nmethod_identity(xmlStream* log);
 211   bool is_not_reached(int bci);
 212   bool was_executed_more_than(int times);
 213   bool has_unloaded_classes_in_signature();
 214   bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const;
 215   bool check_call(int refinfo_index, bool is_static) const;
 216   void build_method_data();  // make sure it exists in the VM also
 217   int scale_count(int count, float prof_factor = 1.);  // make MDO count commensurate with IIC
 218 
 219   // JSR 292 support
 220   bool is_method_handle_invoke()  const;
 221   bool is_method_handle_adapter() const;
 222   ciInstance* method_handle_type();
 223 
 224   // What kind of ciObject is this?
 225   bool is_method()                               { return true; }
 226 
 227   // Java access flags
 228   bool is_public      () const                   { return flags().is_public(); }
 229   bool is_private     () const                   { return flags().is_private(); }
 230   bool is_protected   () const                   { return flags().is_protected(); }
 231   bool is_static      () const                   { return flags().is_static(); }
 232   bool is_final       () const                   { return flags().is_final(); }
 233   bool is_synchronized() const                   { return flags().is_synchronized(); }
 234   bool is_native      () const                   { return flags().is_native(); }
 235   bool is_interface   () const                   { return flags().is_interface(); }
 236   bool is_abstract    () const                   { return flags().is_abstract(); }
 237   bool is_strict      () const                   { return flags().is_strict(); }
 238 
 239   // Other flags
 240   bool is_empty_method() const;
 241   bool is_vanilla_constructor() const;


src/share/vm/ci/ciMethod.hpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File