hotspot/src/share/vm/oops/oop.hpp
changeset 5694 1e0532a6abff
parent 4493 9204129f065e
child 5702 201c5cde25bb
equal deleted inserted replaced
5693:3015c564fcbc 5694:1e0532a6abff
   147 
   147 
   148  public:
   148  public:
   149   // Need this as public for garbage collection.
   149   // Need this as public for garbage collection.
   150   template <class T> T* obj_field_addr(int offset) const;
   150   template <class T> T* obj_field_addr(int offset) const;
   151 
   151 
   152   // Oop encoding heap max
       
   153   static const uint64_t OopEncodingHeapMax =
       
   154               (uint64_t(max_juint) + 1) << LogMinObjAlignmentInBytes;
       
   155 
       
   156   static bool is_null(oop obj);
   152   static bool is_null(oop obj);
   157   static bool is_null(narrowOop obj);
   153   static bool is_null(narrowOop obj);
   158 
   154 
   159   // Decode an oop pointer from a narrowOop if compressed.
   155   // Decode an oop pointer from a narrowOop if compressed.
   160   // These are overloaded for oop and narrowOop as are the other functions
   156   // These are overloaded for oop and narrowOop as are the other functions