RFR: 8347248: Fingerprinter::size_of_parameters() should not be used for getting number of parameters

Matias Saavedra Silva matsaave at openjdk.org
Tue Nov 18 20:20:56 UTC 2025


The method size_of_parameters() is sometimes used as if it represents the number of arguments rather than the size in bytes of the arguments. This patch changes some of these instances to the correct result or renames some of the variables to the desired result. Verified with tier 1-5 tests.

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

Commit messages:
 - 8347248: Fingerprinter::size_of_parameters() should not be used for getting number of parameters

Changes: https://git.openjdk.org/jdk/pull/28380/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28380&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8347248
  Stats: 14 lines in 6 files changed: 9 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/28380.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28380/head:pull/28380

PR: https://git.openjdk.org/jdk/pull/28380


More information about the graal-dev mailing list