--- old/src/hotspot/share/oops/array.hpp 2018-03-02 08:12:30.447572722 -0500 +++ new/src/hotspot/share/oops/array.hpp 2018-03-02 08:12:30.003124057 -0500 @@ -27,7 +27,6 @@ #include "memory/allocation.hpp" #include "memory/metaspace.hpp" -#include "runtime/orderAccess.hpp" #include "utilities/align.hpp" // Array for metadata allocation @@ -122,8 +121,8 @@ T* adr_at(const int i) { assert(i >= 0 && i< _length, "oob: 0 <= %d < %d", i, _length); return &_data[i]; } int find(const T& x) { return index_of(x); } - T at_acquire(const int which) { return OrderAccess::load_acquire(adr_at(which)); } - void release_at_put(int which, T contents) { OrderAccess::release_store(adr_at(which), contents); } + T at_acquire(const int which); + void release_at_put(int which, T contents); static int size(int length) { size_t bytes = align_up(byte_sizeof(length), BytesPerWord);