RFR: 8325467: Support methods with many arguments in C2 [v23]

Daniel Lundén dlunden at openjdk.org
Wed Aug 27 10:05:00 UTC 2025


On Wed, 27 Aug 2025 09:08:09 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

> Since that is now integrated: do we need to make any changes to the patch here? I thought the goal was to use the bailouts instead of increasing `MaxNodeLimit`.
> 
> Because looking at the discussions above: we were worried that there could be compile-time regressions - even if quite rare. But they were in the range of 40s which is quite scary. Are these now gone?

Yes, we can just reset all the `java/lang/invoke` tests (i.e., not modify them at all in this changeset) and the bailouts will ensure we do not try to compile the degenerate cases even without specifying `MaxNodeLimit`. I did check this and thought I had pushed the test reset change, but apparently not. I'll double check and then push the change.

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

PR Comment: https://git.openjdk.org/jdk/pull/20404#issuecomment-3227572806


More information about the hotspot-compiler-dev mailing list