hotspot/src/share/vm/opto/graphKit.hpp
changeset 19719 e856f36c853b
parent 14621 fd9265ab0f67
child 19770 7cb9f982ea81
--- a/hotspot/src/share/vm/opto/graphKit.hpp	Tue Aug 27 21:16:54 2013 +0200
+++ b/hotspot/src/share/vm/opto/graphKit.hpp	Wed Aug 28 11:22:43 2013 +0200
@@ -695,6 +695,10 @@
   void write_barrier_post(Node *store, Node* obj,
                           Node* adr,  uint adr_idx, Node* val, bool use_precise);
 
+  // Allow reordering of pre-barrier with oop store and/or post-barrier.
+  // Used for load_store operations which loads old value.
+  bool can_move_pre_barrier() const;
+
   // G1 pre/post barriers
   void g1_write_barrier_pre(bool do_load,
                             Node* obj,