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

Elif Aslan duke at openjdk.org
Tue Nov 11 17:24:55 UTC 2025


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.

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

Commit messages:
 - Backport 524aaad98317b1a50453e5a9a44922f481fb3b1e

Changes: https://git.openjdk.org/jdk17u-dev/pull/4166/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=4166&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8319957
  Stats: 3 lines in 2 files changed: 0 ins; 3 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/4166.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/4166/head:pull/4166

PR: https://git.openjdk.org/jdk17u-dev/pull/4166


More information about the jdk-updates-dev mailing list