hotspot/src/share/vm/code/nmethod.hpp
changeset 13883 6979b9850feb
parent 13728 882756847a04
child 13887 89b873bcc55b
equal deleted inserted replaced
13882:80d5d0d21b75 13883:6979b9850feb
   175 
   175 
   176   // set during construction
   176   // set during construction
   177   unsigned int _has_unsafe_access:1;         // May fault due to unsafe access.
   177   unsigned int _has_unsafe_access:1;         // May fault due to unsafe access.
   178   unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes?
   178   unsigned int _has_method_handle_invokes:1; // Has this method MethodHandle invokes?
   179   unsigned int _lazy_critical_native:1;      // Lazy JNI critical native
   179   unsigned int _lazy_critical_native:1;      // Lazy JNI critical native
       
   180   unsigned int _has_wide_vectors:1;          // Preserve wide vectors at safepoints
   180 
   181 
   181   // Protected by Patching_lock
   182   // Protected by Patching_lock
   182   unsigned char _state;                      // {alive, not_entrant, zombie, unloaded}
   183   unsigned char _state;                      // {alive, not_entrant, zombie, unloaded}
   183 
   184 
   184 #ifdef ASSERT
   185 #ifdef ASSERT
   440   void  set_speculatively_disconnected(bool z)    { _speculatively_disconnected = z; }
   441   void  set_speculatively_disconnected(bool z)    { _speculatively_disconnected = z; }
   441 
   442 
   442   bool  is_lazy_critical_native() const           { return _lazy_critical_native; }
   443   bool  is_lazy_critical_native() const           { return _lazy_critical_native; }
   443   void  set_lazy_critical_native(bool z)          { _lazy_critical_native = z; }
   444   void  set_lazy_critical_native(bool z)          { _lazy_critical_native = z; }
   444 
   445 
       
   446   bool  has_wide_vectors() const                  { return _has_wide_vectors; }
       
   447   void  set_has_wide_vectors(bool z)              { _has_wide_vectors = z; }
       
   448 
   445   int   comp_level() const                        { return _comp_level; }
   449   int   comp_level() const                        { return _comp_level; }
   446 
   450 
   447   // Support for oops in scopes and relocs:
   451   // Support for oops in scopes and relocs:
   448   // Note: index 0 is reserved for null.
   452   // Note: index 0 is reserved for null.
   449   oop   oop_at(int index) const                   { return index == 0 ? (oop) NULL: *oop_addr_at(index); }
   453   oop   oop_at(int index) const                   { return index == 0 ? (oop) NULL: *oop_addr_at(index); }