1.1 --- a/src/share/vm/oops/methodOop.hpp Wed Jul 11 14:50:30 2012 -0700 1.2 +++ b/src/share/vm/oops/methodOop.hpp Thu Jul 12 00:39:53 2012 -0700 1.3 @@ -122,8 +122,9 @@ 1.4 u2 _max_locals; // Number of local variables used by this method 1.5 u2 _size_of_parameters; // size of the parameter block (receiver + arguments) in words 1.6 u1 _intrinsic_id; // vmSymbols::intrinsic_id (0 == _none) 1.7 - u1 _jfr_towrite : 1, // Flags 1.8 - : 7; 1.9 + u1 _jfr_towrite : 1, // Flags 1.10 + _force_inline : 1, 1.11 + : 6; 1.12 u2 _interpreter_throwout_count; // Count of times method was exited via exception while interpreting 1.13 u2 _number_of_breakpoints; // fullspeed debugging support 1.14 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations 1.15 @@ -655,6 +656,9 @@ 1.16 bool jfr_towrite() { return _jfr_towrite; } 1.17 void set_jfr_towrite(bool towrite) { _jfr_towrite = towrite; } 1.18 1.19 + bool force_inline() { return _force_inline; } 1.20 + void set_force_inline(bool fi) { _force_inline = fi; } 1.21 + 1.22 // On-stack replacement support 1.23 bool has_osr_nmethod(int level, bool match_level) { 1.24 return instanceKlass::cast(method_holder())->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL;