[jdk21u-dev] RFR: 8319957: PhaseOutput::code_size is unused and should be removed

Goetz Lindenmaier goetz at openjdk.org
Wed Nov 12 08:14:16 UTC 2025


On Tue, 11 Nov 2025 17:16:18 GMT, Elif Aslan <duke at openjdk.org> wrote:

> Clean backport.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. There is not any usage.
> 
> GHA tested.

Hi @elifaslan1 
Why should we backport this?  We usually don't backport cleanups.

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/2459#issuecomment-3520574377


More information about the jdk-updates-dev mailing list