RFR: 8338924: C1: assert(0 <= i && i < _len) failed: illegal index 5 for length 5 [v2]

Matias Saavedra Silva matsaave at openjdk.org
Tue Sep 3 15:03:56 UTC 2024


> The change in [JDK-8335664](https://bugs.openjdk.org/browse/JDK-8335664) caused a crash when initializing basic blocks with `-Xcomp`. This change introduces a check to see if JSR is the last bytecode in its method so that expected behavior matches the previous patch. Verified with tier 1-6 tests.

Matias Saavedra Silva has updated the pull request incrementally with one additional commit since the last revision:

  Vladimir and Tobias comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20732/files
  - new: https://git.openjdk.org/jdk/pull/20732/files/511d5207..e3241704

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

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

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


More information about the hotspot-compiler-dev mailing list