RFR: 8319957: PhaseOutput::code_size is unused and should be removed

Christian Hagedorn chagedorn at openjdk.org
Tue Apr 30 15:47:04 UTC 2024


On Fri, 26 Apr 2024 17:31:45 GMT, Sonia Zaldana Calles <szaldana at openjdk.org> wrote:

> Hi all, 
> 
> This PR removes the unused ```PhaseOutput::code_size / method_size```.
> 
> These were moved over from ```src/hotspot/share/opto/compile.hpp``` in the refactor from [8240363](https://bugs.openjdk.org/browse/JDK-8240363). Here's the git link for reference https://github.com/openjdk/jdk/commit/21cd75cb98f658639df14632680e9c5e58f11faa.
> 
> I also checked whether there were any usages prior to the refactor and couldn’t find anything so I think it’s safe to remove it. 
> 
> Thanks, 
> Sonia

Looks good.

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

Marked as reviewed by chagedorn (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18981#pullrequestreview-2031824508


More information about the hotspot-compiler-dev mailing list