1.1 --- a/src/share/vm/c1/c1_Compilation.hpp Tue Aug 10 12:15:10 2010 -0700 1.2 +++ b/src/share/vm/c1/c1_Compilation.hpp Wed Aug 11 01:17:27 2010 -0700 1.3 @@ -69,6 +69,7 @@ 1.4 bool _has_exception_handlers; 1.5 bool _has_fpu_code; 1.6 bool _has_unsafe_access; 1.7 + bool _has_method_handle_invokes; // True if this method has MethodHandle invokes. 1.8 const char* _bailout_msg; 1.9 ExceptionInfoList* _exception_info_list; 1.10 ExceptionHandlerTable _exception_handler_table; 1.11 @@ -147,6 +148,10 @@ 1.12 // Statistics gathering 1.13 void notice_inlined_method(ciMethod* method); 1.14 1.15 + // JSR 292 1.16 + bool has_method_handle_invokes() const { return _has_method_handle_invokes; } 1.17 + void set_has_method_handle_invokes(bool z) { _has_method_handle_invokes = z; } 1.18 + 1.19 DebugInformationRecorder* debug_info_recorder() const; // = _env->debug_info(); 1.20 Dependencies* dependency_recorder() const; // = _env->dependencies() 1.21 ImplicitExceptionTable* implicit_exception_table() { return &_implicit_exception_table; }