RFR: JDK-8279956: Useless method Scheduling::ComputeLocalLatenciesForward() [v2]
SUN Guoyun
duke at openjdk.java.net
Fri Jan 14 07:32:28 UTC 2022
On Thu, 13 Jan 2022 11:23:01 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 updated the pull request incrementally with one additional commit since the last revision:
>
> 8279956: Useless method Scheduling::ComputeLocalLatenciesForward()
>
I only follow the following earliest changeset from the `hg.openjdk.java.net/jdk/jdk` library
changeset: 1:489c9b5090e2
user: duke
date: Sat Dec 01 00:00:00 2007 +0000
summary: Initial load
_node_latency alse be unused. I think latency has be done on LCM phase. so here` DoSheduling` is nothing to do for node latency.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7062
More information about the hotspot-compiler-dev
mailing list