equal
deleted
inserted
replaced
59 int _interpreter_invocation_count; |
59 int _interpreter_invocation_count; |
60 int _interpreter_throwout_count; |
60 int _interpreter_throwout_count; |
61 |
61 |
62 bool _uses_monitors; |
62 bool _uses_monitors; |
63 bool _balanced_monitors; |
63 bool _balanced_monitors; |
64 bool _is_compilable; |
64 bool _is_c1_compilable; |
|
65 bool _is_c2_compilable; |
65 bool _can_be_statically_bound; |
66 bool _can_be_statically_bound; |
66 |
67 |
67 // Lazy fields, filled in on demand |
68 // Lazy fields, filled in on demand |
68 address _code; |
69 address _code; |
69 ciExceptionHandler** _exception_handlers; |
70 ciExceptionHandler** _exception_handlers; |
124 vmIntrinsics::ID intrinsic_id() const { check_is_loaded(); return _intrinsic_id; } |
125 vmIntrinsics::ID intrinsic_id() const { check_is_loaded(); return _intrinsic_id; } |
125 bool has_exception_handlers() const { check_is_loaded(); return _handler_count > 0; } |
126 bool has_exception_handlers() const { check_is_loaded(); return _handler_count > 0; } |
126 int exception_table_length() const { check_is_loaded(); return _handler_count; } |
127 int exception_table_length() const { check_is_loaded(); return _handler_count; } |
127 int interpreter_invocation_count() const { check_is_loaded(); return _interpreter_invocation_count; } |
128 int interpreter_invocation_count() const { check_is_loaded(); return _interpreter_invocation_count; } |
128 int interpreter_throwout_count() const { check_is_loaded(); return _interpreter_throwout_count; } |
129 int interpreter_throwout_count() const { check_is_loaded(); return _interpreter_throwout_count; } |
|
130 |
|
131 int comp_level(); |
129 |
132 |
130 Bytecodes::Code java_code_at_bci(int bci) { |
133 Bytecodes::Code java_code_at_bci(int bci) { |
131 address bcp = code() + bci; |
134 address bcp = code() + bci; |
132 return Bytecodes::java_code_at(bcp); |
135 return Bytecodes::java_code_at(bcp); |
133 } |
136 } |
207 bool has_option(const char *option); |
210 bool has_option(const char *option); |
208 bool can_be_compiled(); |
211 bool can_be_compiled(); |
209 bool can_be_osr_compiled(int entry_bci); |
212 bool can_be_osr_compiled(int entry_bci); |
210 void set_not_compilable(); |
213 void set_not_compilable(); |
211 bool has_compiled_code(); |
214 bool has_compiled_code(); |
212 int instructions_size(); |
215 int instructions_size(int comp_level = CompLevel_any); |
213 void log_nmethod_identity(xmlStream* log); |
216 void log_nmethod_identity(xmlStream* log); |
214 bool is_not_reached(int bci); |
217 bool is_not_reached(int bci); |
215 bool was_executed_more_than(int times); |
218 bool was_executed_more_than(int times); |
216 bool has_unloaded_classes_in_signature(); |
219 bool has_unloaded_classes_in_signature(); |
217 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const; |
220 bool is_klass_loaded(int refinfo_index, bool must_be_resolved) const; |