--- 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,