RFR: 8288781: C1: LIR_OpVisitState::maxNumberOfOperands too small
Richard Reingruber
rrich at openjdk.org
Tue Jun 21 12:15:36 UTC 2022
Increment `LIR_OpVisitState::maxNumberOfOperands` by 1 to allow C1 compilation of a method that receives 21 parameters in registers instead of crashing.
Add regression test. The regression test crashes on ppc because there all parameters (8 integer + 13 float = 21) can be passed in registers.
The fix passed our CI testing. This includes most JCK and JTREG test, also in Xcomp mode, on the standard platforms and also on Linux/PPC64le.
-------------
Commit messages:
- Increment LIR_OpVisitState::maxNumberOfOperands
- Regression test TestManyMethodParameters.java
Changes: https://git.openjdk.org/jdk19/pull/51/files
Webrev: https://webrevs.openjdk.org/?repo=jdk19&pr=51&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8288781
Stats: 58 lines in 2 files changed: 57 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk19/pull/51.diff
Fetch: git fetch https://git.openjdk.org/jdk19 pull/51/head:pull/51
PR: https://git.openjdk.org/jdk19/pull/51
More information about the hotspot-compiler-dev
mailing list