< prev index next >

src/hotspot/share/classfile/classLoader.inline.hpp

Print this page

        

@@ -24,11 +24,11 @@
 
 #ifndef SHARE_CLASSFILE_CLASSLOADER_INLINE_HPP
 #define SHARE_CLASSFILE_CLASSLOADER_INLINE_HPP
 
 #include "classfile/classLoader.hpp"
-#include "runtime/orderAccess.hpp"
+#include "runtime/atomic.hpp"
 
 // Next entry in class path
 inline ClassPathEntry* ClassPathEntry::next() const { return Atomic::load_acquire(&_next); }
 
 inline void ClassPathEntry::set_next(ClassPathEntry* next) {
< prev index next >