src/hotspot/share/utilities/macros.hpp
changeset 50523 7b7c75d87f9b
parent 50113 caf115bb98ad
child 50525 767cdb97f103
equal deleted inserted replaced
50522:99f4d3b6d487 50523:7b7c75d87f9b
   147 #define NOT_CMSGC(x) x
   147 #define NOT_CMSGC(x) x
   148 #define NOT_CMSGC_RETURN        {}
   148 #define NOT_CMSGC_RETURN        {}
   149 #define NOT_CMSGC_RETURN_(code) { return code; }
   149 #define NOT_CMSGC_RETURN_(code) { return code; }
   150 #endif // INCLUDE_CMSGC
   150 #endif // INCLUDE_CMSGC
   151 
   151 
       
   152 #ifndef INCLUDE_EPSILONGC
       
   153 #define INCLUDE_EPSILONGC 1
       
   154 #endif // INCLUDE_EPSILONGC
       
   155 
       
   156 #if INCLUDE_EPSILONGC
       
   157 #define EPSILONGC_ONLY(x) x
       
   158 #define EPSILONGC_ONLY_ARG(arg) arg,
       
   159 #define NOT_EPSILONGC(x)
       
   160 #define NOT_EPSILONGC_RETURN        /* next token must be ; */
       
   161 #define NOT_EPSILONGC_RETURN_(code) /* next token must be ; */
       
   162 #else
       
   163 #define EPSILONGC_ONLY(x)
       
   164 #define EPSILONGC_ONLY_ARG(arg)
       
   165 #define NOT_EPSILONGC(x) x
       
   166 #define NOT_EPSILONGC_RETURN        {}
       
   167 #define NOT_EPSILONGC_RETURN_(code) { return code; }
       
   168 #endif // INCLUDE_EPSILONGC
       
   169 
   152 #ifndef INCLUDE_G1GC
   170 #ifndef INCLUDE_G1GC
   153 #define INCLUDE_G1GC 1
   171 #define INCLUDE_G1GC 1
   154 #endif // INCLUDE_G1GC
   172 #endif // INCLUDE_G1GC
   155 
   173 
   156 #if INCLUDE_G1GC
   174 #if INCLUDE_G1GC
   201 #define NOT_SERIALGC(x) x
   219 #define NOT_SERIALGC(x) x
   202 #define NOT_SERIALGC_RETURN        {}
   220 #define NOT_SERIALGC_RETURN        {}
   203 #define NOT_SERIALGC_RETURN_(code) { return code; }
   221 #define NOT_SERIALGC_RETURN_(code) { return code; }
   204 #endif // INCLUDE_SERIALGC
   222 #endif // INCLUDE_SERIALGC
   205 
   223 
   206 #if INCLUDE_CMSGC || INCLUDE_G1GC || INCLUDE_PARALLELGC
   224 #if INCLUDE_CMSGC || INCLUDE_EPSILONGC || INCLUDE_G1GC || INCLUDE_PARALLELGC
   207 #define INCLUDE_NOT_ONLY_SERIALGC 1
   225 #define INCLUDE_NOT_ONLY_SERIALGC 1
   208 #else
   226 #else
   209 #define INCLUDE_NOT_ONLY_SERIALGC 0
   227 #define INCLUDE_NOT_ONLY_SERIALGC 0
   210 #endif
   228 #endif
   211 
   229