RFR: JDK-8279956: Useless method Scheduling::ComputeLocalLatenciesForward()
Jie Fu
jiefu at openjdk.java.net
Thu Jan 13 11:13:36 UTC 2022
On Thu, 13 Jan 2022 09:50:38 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.
src/hotspot/share/opto/output.cpp line 27:
> 25: /*
> 26: * This file has been modified by Loongson Technology in 2022. These
> 27: * modifications are Copyright (c) 2022, Loongson Technology, and are made
I'm afraid this part of change is unnecessary.
Maybe, you can just remove it, right?
-------------
PR: https://git.openjdk.java.net/jdk/pull/7062
More information about the hotspot-compiler-dev
mailing list