RFR: 8202366,,Add macro for common loop in GCConfig

Aleksey Shipilev shade at redhat.com
Fri Apr 27 10:09:11 UTC 2018


On 04/27/2018 11:42 AM, Per Liden wrote:
> 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

Looks good (well, as good as control-flow-bearing macros look).

-Aleksey

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20180427/df00af7f/signature-0001.asc>


More information about the hotspot-gc-dev mailing list