RFR: 8358641: C1 option -XX:+TimeEachLinearScan is broken [v2]

Christian Hagedorn chagedorn at openjdk.org
Wed Jul 16 05:42:41 UTC 2025


On Tue, 15 Jul 2025 06:38:34 GMT, Saranya Natarajan <snatarajan at openjdk.org> wrote:

>> **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

Marked as reviewed by chagedorn (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25933#pullrequestreview-3023190834


More information about the hotspot-compiler-dev mailing list