equal
deleted
inserted
replaced
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp" |
26 #include "jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.hpp" |
27 #include "runtime/safepoint.hpp" |
27 #include "runtime/safepoint.hpp" |
28 #include "runtime/orderAccess.inline.hpp" |
28 #include "runtime/orderAccess.hpp" |
29 |
29 |
30 // Alternating epochs on each rotation allow for concurrent tagging. |
30 // Alternating epochs on each rotation allow for concurrent tagging. |
31 // The regular epoch shift happens only during a safepoint. |
31 // The regular epoch shift happens only during a safepoint. |
32 // The fence is there only for the emergency dump case which happens outside of safepoint. |
32 // The fence is there only for the emergency dump case which happens outside of safepoint. |
33 bool JfrTraceIdEpoch::_epoch_state = false; |
33 bool JfrTraceIdEpoch::_epoch_state = false; |