hotspot/src/share/vm/oops/methodOop.hpp
changeset 1894 5c343868d071
parent 670 ddf3e9583f2f
child 2131 98f9cef66a34
child 2105 347008ce7984
equal deleted inserted replaced
1893:c82e388e17c5 1894:5c343868d071
   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