< prev index next >

src/hotspot/share/oops/oop.hpp

Print this page
*** 39,10 ***
--- 39,20 ---
  // the format of Java objects so the fields can be accessed from C++.
  // oopDesc is abstract.
  // (see oopHierarchy for complete oop class hierarchy)
  //
  // no virtual functions allowed
+ //
+ // oopDesc::_mark - the "oop mark word" encoding to be found separately in markWord.hpp
+ //
+ // oopDesc::_metadata - encodes the object's klass pointer, as a raw pointer in "_klass"
+ //                      or compressed pointer in "_compressed_klass"
+ //
+ // The overall size of the _metadata field is dependent on "UseCompressedClassPointers",
+ // hence the terms "narrow" (32 bits) vs "wide" (64 bits).
+ //
+ 
  
  // Forward declarations.
  class OopClosure;
  class FilteringClosure;
  

*** 111,16 ***
--- 121,21 ---
    // type test operations (inlined in oop.inline.hpp)
    inline bool is_instance()            const;
    inline bool is_array()               const;
    inline bool is_objArray()            const;
    inline bool is_typeArray()           const;
+   inline bool is_inline_type()         const;
+   inline bool is_flatArray()           const;
+   inline bool is_null_free_array()     const;
  
    // type test operations that don't require inclusion of oop.inline.hpp.
    bool is_instance_noinline()          const;
    bool is_array_noinline()             const;
    bool is_objArray_noinline()          const;
    bool is_typeArray_noinline()         const;
+   bool is_flatArray_noinline()         const;
+   bool is_null_free_array_noinline()   const;
  
   protected:
    inline oop        as_oop() const { return const_cast<oopDesc*>(this); }
  
   public:
< prev index next >