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

Christian Hagedorn chagedorn at openjdk.org
Thu Oct 9 07:41:09 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

Looks good and trivial!

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

Marked as reviewed by chagedorn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list