[
https://issues.apache.org/jira/browse/GROOVY-11935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18083121#comment-18083121
]
ASF GitHub Bot commented on GROOVY-11935:
-----------------------------------------
daniellansun opened a new pull request, #2562:
URL: https://github.com/apache/groovy/pull/2562
(no comment)
> 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
> Assignee: Daniel Sun
> Priority: Major
> Fix For: 6.0.0-alpha-1
>
>
> 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)