RFR: 8358641: C1 option -XX:+TimeEachLinearScan is broken [v2]
Saranya Natarajan
snatarajan at openjdk.org
Tue Jul 15 06:38:34 UTC 2025
> **Issue**
> Using the command` java -Xcomp -XX:TieredStopAtLevel=1 -XX:+TimeEachLinearScan` results in an assert failure in line `assert(_cached_blocks.length() == ir()->linear_scan_order()->length()) failed: invalid cached block list`.
>
> **Suggestion**
> Removal of flag as this is a very old issue
>
> **Fix**
> Removed the flag by removing relevant methods and code while ensuring the removal does not affect other flags.
Saranya Natarajan has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- addressing review comments
- merge master
Merge branch 'master' of https://github.com/sarannat/jdk into JDK-8358641
- Initial Fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25933/files
- new: https://git.openjdk.org/jdk/pull/25933/files/980f9a50..d66a4ce9
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25933&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25933&range=00-01
Stats: 225058 lines in 4104 files changed: 131570 ins; 62711 del; 30777 mod
Patch: https://git.openjdk.org/jdk/pull/25933.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25933/head:pull/25933
PR: https://git.openjdk.org/jdk/pull/25933
More information about the hotspot-compiler-dev
mailing list