src/share/vm/oops/method.hpp

changeset 4866
16885e702c88
parent 4609
56c364daccc3
child 4908
b84fd7d73702
child 4936
aeaca88565e6
     1.1 --- a/src/share/vm/oops/method.hpp	Sun Mar 24 12:43:13 2013 -0700
     1.2 +++ b/src/share/vm/oops/method.hpp	Mon Mar 25 17:13:26 2013 -0700
     1.3 @@ -118,11 +118,12 @@
     1.4  #endif
     1.5    u2                _method_size;                // size of this object
     1.6    u1                _intrinsic_id;               // vmSymbols::intrinsic_id (0 == _none)
     1.7 -  u1                _jfr_towrite  : 1,           // Flags
     1.8 -                    _force_inline : 1,
     1.9 -                    _hidden       : 1,
    1.10 -                    _dont_inline  : 1,
    1.11 -                                  : 4;
    1.12 +  u1                _jfr_towrite      : 1,       // Flags
    1.13 +                    _caller_sensitive : 1,
    1.14 +                    _force_inline     : 1,
    1.15 +                    _hidden           : 1,
    1.16 +                    _dont_inline      : 1,
    1.17 +                                      : 3;
    1.18    u2                _interpreter_throwout_count; // Count of times method was exited via exception while interpreting
    1.19    u2                _number_of_breakpoints;      // fullspeed debugging support
    1.20    InvocationCounter _invocation_counter;         // Incremented before each activation of the method - used to trigger frequency-based optimizations
    1.21 @@ -618,6 +619,9 @@
    1.22    // Reflection support
    1.23    bool is_overridden_in(Klass* k) const;
    1.24  
    1.25 +  // Stack walking support
    1.26 +  bool is_ignored_by_security_stack_walk() const;
    1.27 +
    1.28    // JSR 292 support
    1.29    bool is_method_handle_intrinsic() const;          // MethodHandles::is_signature_polymorphic_intrinsic(intrinsic_id)
    1.30    bool is_compiled_lambda_form() const;             // intrinsic_id() == vmIntrinsics::_compiledLambdaForm
    1.31 @@ -705,15 +709,16 @@
    1.32    void init_intrinsic_id();     // updates from _none if a match
    1.33    static vmSymbols::SID klass_id_for_intrinsics(Klass* holder);
    1.34  
    1.35 -  bool jfr_towrite()                 { return _jfr_towrite; }
    1.36 -  void set_jfr_towrite(bool towrite) { _jfr_towrite = towrite; }
    1.37 -
    1.38 -  bool     force_inline()       { return _force_inline;     }
    1.39 -  void set_force_inline(bool x) {        _force_inline = x; }
    1.40 -  bool     dont_inline()        { return _dont_inline;      }
    1.41 -  void set_dont_inline(bool x)  {        _dont_inline = x;  }
    1.42 -  bool  is_hidden()             { return _hidden;           }
    1.43 -  void set_hidden(bool x)       {        _hidden = x;       }
    1.44 +  bool     jfr_towrite()            { return _jfr_towrite;          }
    1.45 +  void set_jfr_towrite(bool x)      {        _jfr_towrite = x;      }
    1.46 +  bool     caller_sensitive()       { return _caller_sensitive;     }
    1.47 +  void set_caller_sensitive(bool x) {        _caller_sensitive = x; }
    1.48 +  bool     force_inline()           { return _force_inline;         }
    1.49 +  void set_force_inline(bool x)     {        _force_inline = x;     }
    1.50 +  bool     dont_inline()            { return _dont_inline;          }
    1.51 +  void set_dont_inline(bool x)      {        _dont_inline = x;      }
    1.52 +  bool  is_hidden()                 { return _hidden;               }
    1.53 +  void set_hidden(bool x)           {        _hidden = x;           }
    1.54    ConstMethod::MethodType method_type() const {
    1.55        return _constMethod->method_type();
    1.56    }

mercurial