RFR: 8368573: MultiBranchNode::required_outcnt should return an unsigned int

Damon Fenacci dfenacci at openjdk.org
Thu Oct 9 08:11:16 UTC 2025


On Thu, 9 Oct 2025 06:51:50 GMT, Manuel Hässig <mhaessig at openjdk.org> wrote:

> This small PR turns the type `MultiBranchNode::required_outcnt` from an `int` into a `uint` because all usages of this are already unsigned integers. Thus, the patch eliminates all implicit conversion from the code path.
> 
> Testing:
>  - [ ] Github Actions
>  - [x] tier1, tier2 on Oracle supported platforms

LGTM. Thanks @mhaessig!

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

Marked as reviewed by dfenacci (Committer).

PR Review: https://git.openjdk.org/jdk/pull/27714#pullrequestreview-3317704222


More information about the hotspot-compiler-dev mailing list