src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceIdEpoch.cpp
changeset 50429 83aec1d357d4
parent 50113 caf115bb98ad
child 57873 68134337dbf8
child 58863 c16ac7a2eba4
equal deleted inserted replaced
50428:8c88df2e8a78 50429:83aec1d357d4
    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;