You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Aditya Kishore (JIRA)" <ji...@apache.org> on 2014/07/17 19:13:06 UTC

[jira] [Created] (DRILL-1155) Add option to use JDK compiler and use it for runtime generated code over a certain threshold

Aditya Kishore created DRILL-1155:
-------------------------------------

             Summary: Add option to use JDK compiler and use it for runtime generated code over a certain threshold
                 Key: DRILL-1155
                 URL: https://issues.apache.org/jira/browse/DRILL-1155
             Project: Apache Drill
          Issue Type: Sub-task
          Components: Execution - Codegen
    Affects Versions: 1.0.0-BETA1
            Reporter: Aditya Kishore
            Assignee: Aditya Kishore


This is related to DRILL-1095 however it would not completely resolve the issue since the Java class file format enforces a maximum limit of 64K on a code unit.

However, it does provide some additional headroom as JDK compiler seems to generate slightly smaller bytecode compared to Janino and seems to be faster for source code sizes over a threshold (approximately 256K in my tests). For smaller source code Janino is order of magnitude faster than JDK compiler.



--
This message was sent by Atlassian JIRA
(v6.2#6252)