RFR: JDK-8279956: Useless method Scheduling::ComputeLocalLatenciesForward() [v3]

Jie Fu jiefu at openjdk.java.net
Mon Jan 17 02:21:28 UTC 2022


On Fri, 14 Jan 2022 08:25:06 GMT, SUN Guoyun <duke at openjdk.java.net> wrote:

>> Method `Scheduling::ComputeLocalLatenciesForward()` be used for compute the latency of all the instructions and write the result to `_node_latency`. But I found that `_node_latency` was never used. So I think method `Scheduling::ComputeLocalLatenciesForward()` can be deleted, which is also an enhancement to the efficiency of compilation threads.
>
> SUN Guoyun has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   8279956: Useless method Scheduling::ComputeLocalLatenciesForward( )

This change looks reasonable to me.
But I would suggest testing with -XX:+OptoScheduling before integration.

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

PR: https://git.openjdk.java.net/jdk/pull/7062


More information about the hotspot-compiler-dev mailing list