120 u2 _method_size; // size of this object |
120 u2 _method_size; // size of this object |
121 u2 _max_stack; // Maximum number of entries on the expression stack |
121 u2 _max_stack; // Maximum number of entries on the expression stack |
122 u2 _max_locals; // Number of local variables used by this method |
122 u2 _max_locals; // Number of local variables used by this method |
123 u2 _size_of_parameters; // size of the parameter block (receiver + arguments) in words |
123 u2 _size_of_parameters; // size of the parameter block (receiver + arguments) in words |
124 u1 _intrinsic_id; // vmSymbols::intrinsic_id (0 == _none) |
124 u1 _intrinsic_id; // vmSymbols::intrinsic_id (0 == _none) |
125 u1 _jfr_towrite : 1, // Flags |
125 u1 _jfr_towrite : 1, // Flags |
126 : 7; |
126 _force_inline : 1, |
|
127 : 6; |
127 u2 _interpreter_throwout_count; // Count of times method was exited via exception while interpreting |
128 u2 _interpreter_throwout_count; // Count of times method was exited via exception while interpreting |
128 u2 _number_of_breakpoints; // fullspeed debugging support |
129 u2 _number_of_breakpoints; // fullspeed debugging support |
129 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations |
130 InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations |
130 InvocationCounter _backedge_counter; // Incremented before each backedge taken - used to trigger frequencey-based optimizations |
131 InvocationCounter _backedge_counter; // Incremented before each backedge taken - used to trigger frequencey-based optimizations |
131 |
132 |
653 static vmSymbols::SID klass_id_for_intrinsics(klassOop holder); |
654 static vmSymbols::SID klass_id_for_intrinsics(klassOop holder); |
654 |
655 |
655 bool jfr_towrite() { return _jfr_towrite; } |
656 bool jfr_towrite() { return _jfr_towrite; } |
656 void set_jfr_towrite(bool towrite) { _jfr_towrite = towrite; } |
657 void set_jfr_towrite(bool towrite) { _jfr_towrite = towrite; } |
657 |
658 |
|
659 bool force_inline() { return _force_inline; } |
|
660 void set_force_inline(bool fi) { _force_inline = fi; } |
|
661 |
658 // On-stack replacement support |
662 // On-stack replacement support |
659 bool has_osr_nmethod(int level, bool match_level) { |
663 bool has_osr_nmethod(int level, bool match_level) { |
660 return instanceKlass::cast(method_holder())->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL; |
664 return instanceKlass::cast(method_holder())->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL; |
661 } |
665 } |
662 |
666 |