In GCConfig, we loop over the list of supported GCs in many places. We could simplify the code a bit by adding a FOR_EACH_SUPPORTED_GC macro. Bug: https://bugs.openjdk.java.net/browse/JDK-8202366 Webrev: http://cr.openjdk.java.net/~pliden/8202366/webrev.0 /Per