src/share/vm/oops/objArrayOop.hpp
Print this page
rev 5917 : [mq]: cleanup-parcopyclosure
*** 33,43 ****
class objArrayOopDesc : public arrayOopDesc {
friend class ObjArrayKlass;
friend class Runtime1;
friend class psPromotionManager;
friend class CSetMarkOopClosure;
! friend class G1ParScanPartialArrayClosure;
template <class T> T* obj_at_addr(int index) const {
assert(is_within_bounds(index), "index out of bounds");
return &((T*)base())[index];
}
--- 33,43 ----
class objArrayOopDesc : public arrayOopDesc {
friend class ObjArrayKlass;
friend class Runtime1;
friend class psPromotionManager;
friend class CSetMarkOopClosure;
! friend class G1ParScanThreadState;
template <class T> T* obj_at_addr(int index) const {
assert(is_within_bounds(index), "index out of bounds");
return &((T*)base())[index];
}