1.1 --- a/src/share/vm/ci/ciMethod.hpp Thu Sep 02 11:40:02 2010 -0700 1.2 +++ b/src/share/vm/ci/ciMethod.hpp Fri Sep 03 17:51:07 2010 -0700 1.3 @@ -61,7 +61,8 @@ 1.4 1.5 bool _uses_monitors; 1.6 bool _balanced_monitors; 1.7 - bool _is_compilable; 1.8 + bool _is_c1_compilable; 1.9 + bool _is_c2_compilable; 1.10 bool _can_be_statically_bound; 1.11 1.12 // Lazy fields, filled in on demand 1.13 @@ -127,6 +128,8 @@ 1.14 int interpreter_invocation_count() const { check_is_loaded(); return _interpreter_invocation_count; } 1.15 int interpreter_throwout_count() const { check_is_loaded(); return _interpreter_throwout_count; } 1.16 1.17 + int comp_level(); 1.18 + 1.19 Bytecodes::Code java_code_at_bci(int bci) { 1.20 address bcp = code() + bci; 1.21 return Bytecodes::java_code_at(bcp); 1.22 @@ -209,7 +212,7 @@ 1.23 bool can_be_osr_compiled(int entry_bci); 1.24 void set_not_compilable(); 1.25 bool has_compiled_code(); 1.26 - int instructions_size(); 1.27 + int instructions_size(int comp_level = CompLevel_any); 1.28 void log_nmethod_identity(xmlStream* log); 1.29 bool is_not_reached(int bci); 1.30 bool was_executed_more_than(int times);