RFR: 8358641: C1 option -XX:+TimeEachLinearScan is broken
Saranya Natarajan
snatarajan at openjdk.org
Tue Jun 24 10:02:18 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.
-------------
Commit messages:
- Initial Fix
Changes: https://git.openjdk.org/jdk/pull/25933/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25933&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8358641
Stats: 51 lines in 3 files changed: 1 ins; 49 del; 1 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