RFR: 8375618: Incorrect assert in CastLLNode::Ideal [v3]

Quan Anh Mai qamai at openjdk.org
Wed Jan 21 14:25:59 UTC 2026


> Hi,
> 
> This PR fixes the incorrect assert in `CastLLNode::Ideal`. The assert intends to verify that the output is either a proper subset of or the same as the input. It does so by checking the signed lower bound and signed upper bound of the `TypeLong` instances. This method is not correct now.
> 
> Please kindly review, thanks a lot.

Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:

  Rename for understandability

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29304/files
  - new: https://git.openjdk.org/jdk/pull/29304/files/948a0198..812892e2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29304&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29304&range=01-02

  Stats: 5 lines in 3 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/29304.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29304/head:pull/29304

PR: https://git.openjdk.org/jdk/pull/29304


More information about the hotspot-compiler-dev mailing list