< prev index next >

src/hotspot/share/oops/objArrayOop.hpp

Print this page
*** 37,13 ***
--- 37,21 ---
  class objArrayOopDesc : public arrayOopDesc {
    friend class ObjArrayKlass;
    friend class Runtime1;
    friend class psPromotionManager;
    friend class CSetMarkWordClosure;
+   friend class Continuation;
+   template <typename T>
+   friend class RawOopWriter;
  
    template <class T> T* obj_at_addr(int index) const;
  
+ public:
+   template <class T> T* obj_at_address(int index) const {
+     return obj_at_addr<T>(index);
+   }
+ 
    template <class T>
    static ptrdiff_t obj_at_offset(int index) {
      return base_offset_in_bytes() + sizeof(T) * index;
    }
  

*** 84,10 ***
--- 92,12 ---
  
    // Accessing
    oop obj_at(int index) const;
  
    void obj_at_put(int index, oop value);
+   template <DecoratorSet ds>
+   void obj_at_put_access(int index, oop value);
  
    oop atomic_compare_exchange_oop(int index, oop exchange_value, oop compare_value);
  
    // Sizing
    static int header_size()    { return arrayOopDesc::header_size(T_OBJECT); }
< prev index next >