< prev index next >

src/share/vm/gc/shared/barrierSet.hpp

Print this page
rev 12854 : [mq]: gcinterface.patch

@@ -122,10 +122,18 @@
 
   // Invoke the barrier, if any, necessary when reading the given primitive
   // "field" of "bytes" bytes in "obj".
   virtual void read_prim_field(HeapWord* field, size_t bytes) = 0;
 
+  virtual void oop_store(oop* p, oop v);
+  virtual void oop_store(narrowOop* p, oop v);
+  virtual void oop_store(volatile oop* p, oop v);
+  virtual void oop_store(volatile narrowOop* p, oop v);
+
+  virtual void klass_oop_store(oop* p, oop v);
+  virtual void klass_oop_store(volatile oop* p, oop v);
+
   // Invoke the barrier, if any, necessary when writing "new_val" into the
   // ref field at "offset" in "obj".
   // (For efficiency reasons, this operation is specialized for certain
   // barrier types.  Semantically, it should be thought of as a call to the
   // virtual "_work" function below, which must implement the barrier.)
< prev index next >