< prev index next >

src/hotspot/share/oops/objArrayOop.hpp

Print this page

        

*** 37,50 **** --- 37,58 ---- friend class ObjArrayKlass; friend class Runtime1; friend class psPromotionManager; friend class CSetMarkOopClosure; friend class G1ParScanPartialArrayClosure; + friend class Continuation; + template <typename T> + friend class RawOopWriter; template <class T> T* obj_at_addr(int index) const; template <class T> T* obj_at_addr_raw(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; }
*** 86,95 **** --- 94,105 ---- // 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 >