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

Per Liden per.liden at oracle.com
Fri Apr 27 11:26:24 UTC 2018


On 04/27/2018 12:09 PM, Aleksey Shipilev wrote:
> 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).

Thanks Aleksey (yes, I dream of c++11 daily...)

/Per



More information about the hotspot-gc-dev mailing list