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

Tobias Hartmann thartmann at openjdk.org
Mon Apr 29 05:40: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 to me.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list