RFR: 8322807: Eliminate -Wparentheses warnings in gc code

Albert Mingkun Yang ayang at openjdk.org
Tue Jan 2 08:58:48 UTC 2024


On Tue, 2 Jan 2024 05:51:29 GMT, Kim Barrett <kbarrett 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.

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

Marked as reviewed by ayang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17212#pullrequestreview-1800106913


More information about the hotspot-gc-dev mailing list