hotspot/src/share/vm/oops/oop.hpp
changeset 22908 8c4f06f6ea15
parent 22757 b2cbb3680b4f
child 29081 c61eb4914428
equal deleted inserted replaced
22907:f978a4a64728 22908:8c4f06f6ea15
   107   // Sometimes (for complicated concurrency-related reasons), it is useful
   107   // Sometimes (for complicated concurrency-related reasons), it is useful
   108   // to be able to figure out the size of an object knowing its klass.
   108   // to be able to figure out the size of an object knowing its klass.
   109   int size_given_klass(Klass* klass);
   109   int size_given_klass(Klass* klass);
   110 
   110 
   111   // type test operations (inlined in oop.inline.h)
   111   // type test operations (inlined in oop.inline.h)
   112   bool is_instance()           const;
   112   bool is_instance()            const;
   113   bool is_instanceMirror()     const;
   113   bool is_instanceMirror()      const;
   114   bool is_instanceRef()        const;
   114   bool is_instanceClassLoader() const;
   115   bool is_array()              const;
   115   bool is_instanceRef()         const;
   116   bool is_objArray()           const;
   116   bool is_array()               const;
   117   bool is_typeArray()          const;
   117   bool is_objArray()            const;
       
   118   bool is_typeArray()           const;
   118 
   119 
   119  private:
   120  private:
   120   // field addresses in oop
   121   // field addresses in oop
   121   void*     field_base(int offset)        const;
   122   void*     field_base(int offset)        const;
   122 
   123