[ 
https://issues.apache.org/jira/browse/FLINK-41382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated FLINK-41382:
-----------------------------------
    Labels: pull-request-available  (was: )

> Split generated methods can still be too large to be JIT-compiled
> -----------------------------------------------------------------
>
>                 Key: FLINK-41382
>                 URL: https://issues.apache.org/jira/browse/FLINK-41382
>             Project: Flink
>          Issue Type: Technical Debt
>          Components: Table SQL / Runtime
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>              Labels: pull-request-available
>
> Generated code can contain very long methods. The code splitter moves their 
> statements into smaller methods. The original method then calls these smaller 
> methods one after another.
> This list of calls is not split. With very large generated code, it can 
> contain thousands of calls. The method is then too large for the JVM to 
> JIT-compile, so it runs in the interpreter for every record.
> Example: for a CASE with 10000 branches(FLINK-41380), this method took about 
> 9% of the CPU time.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to