JDK-8368573 : MultiBranchNode::required_outcnt should return an unsigned int
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 26
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-09-24
  • Updated: 2025-10-20
  • Resolved: 2025-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 26
26 b20Fixed
Related Reports
Relates :  
Description
MultiBranchNode::required_outcnt() currently returns a signed int. However, all its implementations return positive integers, or in the case for PcTableNode implicitly convert an unsigned int to int. Further, Node::outcnt returns an int, so there is really no reason for a signed representation of an outcnt.
Comments
Changeset: 7e3e55a5 Branch: master Author: Manuel Hässig <mhaessig@openjdk.org> Date: 2025-10-09 10:24:27 +0000 URL: https://git.openjdk.org/jdk/commit/7e3e55a576b24ae704395b01a15c363ce6e28cae
09-10-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/27714 Date: 2025-10-09 06:51:50 +0000
09-10-2025