diff -r c887851da33d -r 97d13893ec3c src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp --- a/src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp Wed Nov 27 10:21:22 2019 +0100 +++ b/src/hotspot/share/gc/shared/referenceProcessorPhaseTimes.cpp Tue Nov 26 10:47:46 2019 +0100 @@ -30,6 +30,7 @@ #include "logging/log.hpp" #include "logging/logStream.hpp" #include "memory/allocation.inline.hpp" +#include "runtime/atomic.hpp" #define ASSERT_REF_TYPE(ref_type) assert((ref_type) >= REF_SOFT && (ref_type) <= REF_PHANTOM, \ "Invariant (%d)", (int)ref_type)