RFR: JDK-8279956: Useless method Scheduling::ComputeLocalLatenciesForward() [v3]
Dean Long
dlong at openjdk.java.net
Fri Jan 14 10:20:29 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( )
I checked the SCCS history back to 2000 when _node_latency was introduced, and could not find any use, other than the tracing output.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7062
More information about the hotspot-compiler-dev
mailing list