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

Quan Anh Mai qamai at openjdk.org
Tue Jan 20 02:53:31 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:

  Make properly_contains debug only

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

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

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

  Stats: 10 lines in 2 files changed: 10 ins; 0 del; 0 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