src/hotspot/share/utilities/macros.hpp
changeset 50525 767cdb97f103
parent 50523 7b7c75d87f9b
child 50752 9d62da00bf15
equal deleted inserted replaced
50524:04f4e983c2f7 50525:767cdb97f103
   219 #define NOT_SERIALGC(x) x
   219 #define NOT_SERIALGC(x) x
   220 #define NOT_SERIALGC_RETURN        {}
   220 #define NOT_SERIALGC_RETURN        {}
   221 #define NOT_SERIALGC_RETURN_(code) { return code; }
   221 #define NOT_SERIALGC_RETURN_(code) { return code; }
   222 #endif // INCLUDE_SERIALGC
   222 #endif // INCLUDE_SERIALGC
   223 
   223 
   224 #if INCLUDE_CMSGC || INCLUDE_EPSILONGC || INCLUDE_G1GC || INCLUDE_PARALLELGC
   224 #ifndef INCLUDE_ZGC
       
   225 #define INCLUDE_ZGC 1
       
   226 #endif // INCLUDE_ZGC
       
   227 
       
   228 #if INCLUDE_ZGC
       
   229 #define ZGC_ONLY(x) x
       
   230 #define ZGC_ONLY_ARG(arg) arg,
       
   231 #define NOT_ZGC(x)
       
   232 #define NOT_ZGC_RETURN        /* next token must be ; */
       
   233 #define NOT_ZGC_RETURN_(code) /* next token must be ; */
       
   234 #else
       
   235 #define ZGC_ONLY(x)
       
   236 #define ZGC_ONLY_ARG(arg)
       
   237 #define NOT_ZGC(x) x
       
   238 #define NOT_ZGC_RETURN        {}
       
   239 #define NOT_ZGC_RETURN_(code) { return code; }
       
   240 #endif // INCLUDE_ZGC
       
   241 
       
   242 #if INCLUDE_CMSGC || INCLUDE_EPSILONGC || INCLUDE_G1GC || INCLUDE_PARALLELGC || INCLUDE_ZGC
   225 #define INCLUDE_NOT_ONLY_SERIALGC 1
   243 #define INCLUDE_NOT_ONLY_SERIALGC 1
   226 #else
   244 #else
   227 #define INCLUDE_NOT_ONLY_SERIALGC 0
   245 #define INCLUDE_NOT_ONLY_SERIALGC 0
   228 #endif
   246 #endif
   229 
   247