Mercurial > hg > truffle
diff src/share/vm/oops/methodOop.hpp @ 6222:6d8f36bcef55
6711908: JVM needs direct access to some annotations
Summary: Add annotation extraction code to class file parser.
Reviewed-by: twisti, jrose, kvn
Contributed-by: michael.haupt@oracle.com
author | jrose |
---|---|
date | Thu, 12 Jul 2012 00:39:53 -0700 |
parents | eba1d5bce9e8 |
children | 9c9fb30d2b3b |
line wrap: on
line diff
--- a/src/share/vm/oops/methodOop.hpp Wed Jul 11 14:50:30 2012 -0700 +++ b/src/share/vm/oops/methodOop.hpp Thu Jul 12 00:39:53 2012 -0700 @@ -122,8 +122,9 @@ u2 _max_locals; // Number of local variables used by this method u2 _size_of_parameters; // size of the parameter block (receiver + arguments) in words u1 _intrinsic_id; // vmSymbols::intrinsic_id (0 == _none) - u1 _jfr_towrite : 1, // Flags - : 7; + u1 _jfr_towrite : 1, // Flags + _force_inline : 1, + : 6; u2 _interpreter_throwout_count; // Count of times method was exited via exception while interpreting u2 _number_of_breakpoints; // fullspeed debugging support InvocationCounter _invocation_counter; // Incremented before each activation of the method - used to trigger frequency-based optimizations @@ -655,6 +656,9 @@ bool jfr_towrite() { return _jfr_towrite; } void set_jfr_towrite(bool towrite) { _jfr_towrite = towrite; } + bool force_inline() { return _force_inline; } + void set_force_inline(bool fi) { _force_inline = fi; } + // On-stack replacement support bool has_osr_nmethod(int level, bool match_level) { return instanceKlass::cast(method_holder())->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL;