< prev index next >

src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.cpp

Print this page

        

*** 23,33 **** */ #include "precompiled.hpp" #include "jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp" #include "runtime/safepoint.hpp" ! #include "runtime/orderAccess.inline.hpp" // Alternating epochs on each rotation allow for concurrent tagging. // The regular epoch shift happens only during a safepoint. // The fence is there only for the emergency dump case which happens outside of safepoint. bool JfrTraceIdEpoch::_epoch_state = false; --- 23,33 ---- */ #include "precompiled.hpp" #include "jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp" #include "runtime/safepoint.hpp" ! #include "runtime/orderAccess.hpp" // Alternating epochs on each rotation allow for concurrent tagging. // The regular epoch shift happens only during a safepoint. // The fence is there only for the emergency dump case which happens outside of safepoint. bool JfrTraceIdEpoch::_epoch_state = false;
< prev index next >