RFR: 8325467: Support methods with many arguments in C2 [v17]
Daniel Lundén
dlunden at openjdk.org
Mon Jun 23 14:35:45 UTC 2025
On Fri, 20 Jun 2025 10:00:14 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>> Note that I only added the `-XX:MaxNodeLimit=20000`, all the other flags are from before (I just added line breaks). It could very well make sense to have a run with fewer flags, but I'm not sure if that's compatible with what the original author intended. I'd prefer leaving it as it is.
>
> Is it the use of the JSR292 methods that increases the limit? Or do you need to increase the limit to make sure we don't hit the limit?
Yes, the use of JSR292 methods increases the `MaxNodeLimit`:
// Bump max node limit for JSR292 users
if (bc() == Bytecodes::_invokedynamic || orig_callee->is_method_handle_intrinsic()) {
C->set_max_node_limit(3*MaxNodeLimit);
}
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20404#discussion_r2161783711
More information about the hotspot-compiler-dev
mailing list