RFR: 8322807: Eliminate -Wparentheses warnings in gc code

Kim Barrett kbarrett at openjdk.org
Tue Jan 2 22:02:52 UTC 2024


On Tue, 2 Jan 2024 08:56:24 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Please review this trivial change to eliminate a -Wparentheses warning.
>> This involved simply adding parentheses to make the implicit operator
>> precedence explicit.
>> 
>> Testing: mach5 tier1
>> 
>> Also ran mach5 tier1 with these changes in conjunction enabling -Wparentheses
>> and other changes needed to make that work.
>
> Good and trivial.

Thanks for the review @albertnetymk

-------------

PR Comment: https://git.openjdk.org/jdk/pull/17212#issuecomment-1874613749


More information about the hotspot-gc-dev mailing list