src/share/vm/gc_implementation/shared/markSweep.inline.hpp

Print this page
rev 6521 : 8044775: Improve usage of umbrella header atomic.inline.hpp.

@@ -30,10 +30,11 @@
 #include "utilities/stack.inline.hpp"
 #include "utilities/macros.hpp"
 #if INCLUDE_ALL_GCS
 #include "gc_implementation/g1/g1StringDedup.hpp"
 #include "gc_implementation/parallelScavenge/psParallelCompact.hpp"
+#include "runtime/atomic.inline.hpp"
 #endif // INCLUDE_ALL_GCS
 
 inline void MarkSweep::mark_object(oop obj) {
 #if INCLUDE_ALL_GCS
   if (G1StringDedup::is_enabled()) {