src/hotspot/share/gc/shared/gc_globals.hpp
changeset 52925 9c18c9d839d3
parent 52905 bec57b4a6d69
child 54085 ab87b06dfdc0
equal deleted inserted replaced
52924:420ff459906f 52925:9c18c9d839d3
    39 #include "gc/parallel/parallel_globals.hpp"
    39 #include "gc/parallel/parallel_globals.hpp"
    40 #endif
    40 #endif
    41 #if INCLUDE_SERIALGC
    41 #if INCLUDE_SERIALGC
    42 #include "gc/serial/serial_globals.hpp"
    42 #include "gc/serial/serial_globals.hpp"
    43 #endif
    43 #endif
       
    44 #if INCLUDE_SHENANDOAHGC
       
    45 #include "gc/shenandoah/shenandoah_globals.hpp"
       
    46 #endif
    44 #if INCLUDE_ZGC
    47 #if INCLUDE_ZGC
    45 #include "gc/z/z_globals.hpp"
    48 #include "gc/z/z_globals.hpp"
    46 #endif
    49 #endif
    47 
    50 
    48 #define GC_FLAGS(develop,                                                   \
    51 #define GC_FLAGS(develop,                                                   \
   138     lp64_product,                                                           \
   141     lp64_product,                                                           \
   139     range,                                                                  \
   142     range,                                                                  \
   140     constraint,                                                             \
   143     constraint,                                                             \
   141     writeable))                                                             \
   144     writeable))                                                             \
   142                                                                             \
   145                                                                             \
       
   146   SHENANDOAHGC_ONLY(GC_SHENANDOAH_FLAGS(                                    \
       
   147     develop,                                                                \
       
   148     develop_pd,                                                             \
       
   149     product,                                                                \
       
   150     product_pd,                                                             \
       
   151     diagnostic,                                                             \
       
   152     diagnostic_pd,                                                          \
       
   153     experimental,                                                           \
       
   154     notproduct,                                                             \
       
   155     manageable,                                                             \
       
   156     product_rw,                                                             \
       
   157     lp64_product,                                                           \
       
   158     range,                                                                  \
       
   159     constraint,                                                             \
       
   160     writeable))                                                             \
       
   161                                                                             \
   143   ZGC_ONLY(GC_Z_FLAGS(                                                      \
   162   ZGC_ONLY(GC_Z_FLAGS(                                                      \
   144     develop,                                                                \
   163     develop,                                                                \
   145     develop_pd,                                                             \
   164     develop_pd,                                                             \
   146     product,                                                                \
   165     product,                                                                \
   147     product_pd,                                                             \
   166     product_pd,                                                             \
   177           "Use the Epsilon (no-op) garbage collector")                      \
   196           "Use the Epsilon (no-op) garbage collector")                      \
   178                                                                             \
   197                                                                             \
   179   experimental(bool, UseZGC, false,                                         \
   198   experimental(bool, UseZGC, false,                                         \
   180           "Use the Z garbage collector")                                    \
   199           "Use the Z garbage collector")                                    \
   181                                                                             \
   200                                                                             \
       
   201   experimental(bool, UseShenandoahGC, false,                                \
       
   202           "Use the Shenandoah garbage collector")                           \
       
   203                                                                             \
   182   product(uint, ParallelGCThreads, 0,                                       \
   204   product(uint, ParallelGCThreads, 0,                                       \
   183           "Number of parallel threads parallel gc will use")                \
   205           "Number of parallel threads parallel gc will use")                \
   184           constraint(ParallelGCThreadsConstraintFunc,AfterErgo)             \
   206           constraint(ParallelGCThreadsConstraintFunc,AfterErgo)             \
   185                                                                             \
   207                                                                             \
   186   diagnostic(bool, UseSemaphoreGCThreadsSynchronization, true,              \
   208   diagnostic(bool, UseSemaphoreGCThreadsSynchronization, true,              \