src/hotspot/share/gc/shared/barrierSetConfig.hpp
changeset 49982 9042ffe5b7fe
parent 49455 848864ed9b17
child 50523 7b7c75d87f9b
child 56533 28a4f284ad83
equal deleted inserted replaced
49981:bd0a95bec96b 49982:9042ffe5b7fe
    25 #ifndef SHARE_VM_GC_SHARED_BARRIERSETCONFIG_HPP
    25 #ifndef SHARE_VM_GC_SHARED_BARRIERSETCONFIG_HPP
    26 #define SHARE_VM_GC_SHARED_BARRIERSETCONFIG_HPP
    26 #define SHARE_VM_GC_SHARED_BARRIERSETCONFIG_HPP
    27 
    27 
    28 #include "utilities/macros.hpp"
    28 #include "utilities/macros.hpp"
    29 
    29 
    30 #if INCLUDE_ALL_GCS
       
    31 #define FOR_EACH_CONCRETE_INCLUDE_ALL_GC_BARRIER_SET_DO(f) \
       
    32   f(G1BarrierSet)
       
    33 #else
       
    34 #define FOR_EACH_CONCRETE_INCLUDE_ALL_GC_BARRIER_SET_DO(f)
       
    35 #endif
       
    36 
       
    37 // Do something for each concrete barrier set part of the build.
    30 // Do something for each concrete barrier set part of the build.
    38 #define FOR_EACH_CONCRETE_BARRIER_SET_DO(f)          \
    31 #define FOR_EACH_CONCRETE_BARRIER_SET_DO(f)          \
    39   f(CardTableBarrierSet)                             \
    32   f(CardTableBarrierSet)                             \
    40   FOR_EACH_CONCRETE_INCLUDE_ALL_GC_BARRIER_SET_DO(f)
    33   G1GC_ONLY(f(G1BarrierSet))
    41 
    34 
    42 #define FOR_EACH_ABSTRACT_BARRIER_SET_DO(f)          \
    35 #define FOR_EACH_ABSTRACT_BARRIER_SET_DO(f)          \
    43   f(ModRef)
    36   f(ModRef)
    44 
    37 
    45 // Do something for each known barrier set.
    38 // Do something for each known barrier set.