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

src/share/vm/ci/ciMethod.hpp

Print this page
rev 7652 : 8063137: Never-taken branches should be pruned when GWT LambdaForms are shared
Reviewed-by: ?
rev 7653 : [mq]: branch.freq.1


 163   int code_size() const                          { check_is_loaded(); return _code_size; }
 164   int max_stack() const                          { check_is_loaded(); return _max_stack; }
 165   int max_locals() const                         { check_is_loaded(); return _max_locals; }
 166   vmIntrinsics::ID intrinsic_id() const          { check_is_loaded(); return _intrinsic_id; }
 167   bool has_exception_handlers() const            { check_is_loaded(); return _handler_count > 0; }
 168   int exception_table_length() const             { check_is_loaded(); return _handler_count; }
 169   int interpreter_invocation_count() const       { check_is_loaded(); return _interpreter_invocation_count; }
 170   int interpreter_throwout_count() const         { check_is_loaded(); return _interpreter_throwout_count; }
 171   int size_of_parameters() const                 { check_is_loaded(); return _size_of_parameters; }
 172   int nmethod_age() const                        { check_is_loaded(); return _nmethod_age; }
 173 
 174   // Should the method be compiled with an age counter?
 175   bool profile_aging() const;
 176 
 177   // Code size for inlining decisions.
 178   int code_size_for_inlining();
 179 
 180   bool caller_sensitive() { return get_Method()->caller_sensitive(); }
 181   bool force_inline()     { return get_Method()->force_inline();     }
 182   bool dont_inline()      { return get_Method()->dont_inline();      }

 183 
 184   int comp_level();
 185   int highest_osr_comp_level();
 186 
 187   Bytecodes::Code java_code_at_bci(int bci) {
 188     address bcp = code() + bci;
 189     return Bytecodes::java_code_at(NULL, bcp);
 190   }
 191   Bytecodes::Code raw_code_at_bci(int bci) {
 192     address bcp = code() + bci;
 193     return Bytecodes::code_at(NULL, bcp);
 194   }
 195   BCEscapeAnalyzer  *get_bcea();
 196   ciMethodBlocks    *get_method_blocks();
 197 
 198   bool    has_linenumber_table() const;          // length unknown until decompression
 199   u_char* compressed_linenumber_table() const;   // not preserved by gc
 200 
 201   int line_number_from_bci(int bci) const;
 202 




 163   int code_size() const                          { check_is_loaded(); return _code_size; }
 164   int max_stack() const                          { check_is_loaded(); return _max_stack; }
 165   int max_locals() const                         { check_is_loaded(); return _max_locals; }
 166   vmIntrinsics::ID intrinsic_id() const          { check_is_loaded(); return _intrinsic_id; }
 167   bool has_exception_handlers() const            { check_is_loaded(); return _handler_count > 0; }
 168   int exception_table_length() const             { check_is_loaded(); return _handler_count; }
 169   int interpreter_invocation_count() const       { check_is_loaded(); return _interpreter_invocation_count; }
 170   int interpreter_throwout_count() const         { check_is_loaded(); return _interpreter_throwout_count; }
 171   int size_of_parameters() const                 { check_is_loaded(); return _size_of_parameters; }
 172   int nmethod_age() const                        { check_is_loaded(); return _nmethod_age; }
 173 
 174   // Should the method be compiled with an age counter?
 175   bool profile_aging() const;
 176 
 177   // Code size for inlining decisions.
 178   int code_size_for_inlining();
 179 
 180   bool caller_sensitive() { return get_Method()->caller_sensitive(); }
 181   bool force_inline()     { return get_Method()->force_inline();     }
 182   bool dont_inline()      { return get_Method()->dont_inline();      }
 183   bool is_shared()        { return get_Method()->is_shared();   }
 184 
 185   int comp_level();
 186   int highest_osr_comp_level();
 187 
 188   Bytecodes::Code java_code_at_bci(int bci) {
 189     address bcp = code() + bci;
 190     return Bytecodes::java_code_at(NULL, bcp);
 191   }
 192   Bytecodes::Code raw_code_at_bci(int bci) {
 193     address bcp = code() + bci;
 194     return Bytecodes::code_at(NULL, bcp);
 195   }
 196   BCEscapeAnalyzer  *get_bcea();
 197   ciMethodBlocks    *get_method_blocks();
 198 
 199   bool    has_linenumber_table() const;          // length unknown until decompression
 200   u_char* compressed_linenumber_table() const;   // not preserved by gc
 201 
 202   int line_number_from_bci(int bci) const;
 203 


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