Integrated: 8358641: C1 option -XX:+TimeEachLinearScan is broken

Saranya Natarajan snatarajan at openjdk.org
Wed Jul 16 08:00:51 UTC 2025


On Mon, 23 Jun 2025 09:43:28 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.

This pull request has now been integrated.

Changeset: 6b4a5ef1
Author:    Saranya Natarajan <snatarajan at openjdk.org>
Committer: Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6b4a5ef105ee548627a53e2b983eab7972e33669
Stats:     50 lines in 3 files changed: 0 ins; 49 del; 1 mod

8358641: C1 option -XX:+TimeEachLinearScan is broken

Reviewed-by: chagedorn, thartmann

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

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


More information about the hotspot-compiler-dev mailing list