src/share/vm/oops/methodOop.hpp

changeset 953
0af8b0718fc9
parent 631
d1605aabd0a1
child 1014
0fbdb4381b99
child 1040
98cb887364d3
equal deleted inserted replaced
952:e9be0e04635a 953:0af8b0718fc9
127 // NULL only at safepoints (because of a de-opt). 127 // NULL only at safepoints (because of a de-opt).
128 nmethod* volatile _code; // Points to the corresponding piece of native code 128 nmethod* volatile _code; // Points to the corresponding piece of native code
129 volatile address _from_interpreted_entry; // Cache of _code ? _adapter->i2c_entry() : _i2i_entry 129 volatile address _from_interpreted_entry; // Cache of _code ? _adapter->i2c_entry() : _i2i_entry
130 130
131 public: 131 public:
132
133 static const bool IsUnsafeConc = false;
134 static const bool IsSafeConc = true;
135
132 // accessors for instance variables 136 // accessors for instance variables
133 constMethodOop constMethod() const { return _constMethod; } 137 constMethodOop constMethod() const { return _constMethod; }
134 void set_constMethod(constMethodOop xconst) { oop_store_without_check((oop*)&_constMethod, (oop)xconst); } 138 void set_constMethod(constMethodOop xconst) { oop_store_without_check((oop*)&_constMethod, (oop)xconst); }
135 139
136 140

mercurial