< prev index next >

src/hotspot/share/oops/objArrayOop.inline.hpp

Print this page

        

@@ -52,6 +52,12 @@
 inline void objArrayOopDesc::obj_at_put(int index, oop value) {
   ptrdiff_t offset = UseCompressedOops ? obj_at_offset<narrowOop>(index) : obj_at_offset<oop>(index);
   HeapAccess<IS_ARRAY>::oop_store_at(as_oop(), offset, value);
 }
 
+template <DecoratorSet ds>
+inline void objArrayOopDesc::obj_at_put_access(int index, oop value) {
+  ptrdiff_t offset = UseCompressedOops ? obj_at_offset<narrowOop>(index) : obj_at_offset<oop>(index);
+  HeapAccess<IS_ARRAY | ds>::oop_store_at(as_oop(), offset, value);
+}
+
 #endif // SHARE_OOPS_OBJARRAYOOP_INLINE_HPP
< prev index next >