You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/04/22 14:01:30 UTC

[jira] [Commented] (GROOVY-11935) Set invokedynamic call site target immediately to enable earlier JIT inlining

    [ https://issues.apache.org/jira/browse/GROOVY-11935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18075446#comment-18075446 ] 

ASF GitHub Bot commented on GROOVY-11935:
-----------------------------------------

daniellansun commented on PR #2473:
URL: https://github.com/apache/groovy/pull/2473#issuecomment-4296808922

   If no one is opposed to the PR, I will merge it at this weekend.




> Set invokedynamic call site target immediately to enable earlier JIT inlining
> -----------------------------------------------------------------------------
>
>                 Key: GROOVY-11935
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11935
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Priority: Major
>
> When a invokedynamic call resolves to static call, the call site currently waits for normal PIC warmup(i.e. wait for the 1,000-hit threshold) before setting the optimized target. This delays JIT inlining for static calls such as {{{}A.foo(){}}}. Set invokedynamic call site target immediately to enable earlier JIT inlining.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)