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

Matias Saavedra Silva matsaave at openjdk.org
Wed Sep 4 15:07:38 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:

  Fixed indentation

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

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

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

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 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