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/06/06 06:18:00 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=18086553#comment-18086553 ] 

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

sonarqubecloud[bot] commented on PR #2562:
URL: https://github.com/apache/groovy/pull/2562#issuecomment-4637648156

   ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=apache_groovy&pullRequest=2562) **Quality Gate passed**  
   Issues  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 New issues](https://sonarcloud.io/project/issues?id=apache_groovy&pullRequest=2562&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png '') [0 Accepted issues](https://sonarcloud.io/project/issues?id=apache_groovy&pullRequest=2562&issueStatuses=ACCEPTED)
   
   Measures  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0 Security Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_groovy&pullRequest=2562&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [99.0% Coverage on New Code](https://sonarcloud.io/component_measures?id=apache_groovy&pullRequest=2562&metric=new_coverage&view=list)  
   ![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png '') [0.0% Duplication on New Code](https://sonarcloud.io/component_measures?id=apache_groovy&pullRequest=2562&metric=new_duplicated_lines_density&view=list)  
     
   <!

> 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)