diff -r c887851da33d -r 97d13893ec3c src/hotspot/share/oops/cpCache.inline.hpp --- a/src/hotspot/share/oops/cpCache.inline.hpp Wed Nov 27 10:21:22 2019 +0100 +++ b/src/hotspot/share/oops/cpCache.inline.hpp Tue Nov 26 10:47:46 2019 +0100 @@ -27,7 +27,7 @@ #include "oops/cpCache.hpp" #include "oops/oopHandle.inline.hpp" -#include "runtime/orderAccess.hpp" +#include "runtime/atomic.hpp" inline int ConstantPoolCacheEntry::indices_ord() const { return Atomic::load_acquire(&_indices); }