You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Vlad Rozov (JIRA)" <ji...@apache.org> on 2017/11/29 22:03:01 UTC

[jira] [Created] (DRILL-6001) Deprecate using assertions (-ea) to enable direct memory allocation tracing.

Vlad Rozov created DRILL-6001:
---------------------------------

             Summary: Deprecate using assertions (-ea) to enable direct memory allocation tracing.
                 Key: DRILL-6001
                 URL: https://issues.apache.org/jira/browse/DRILL-6001
             Project: Apache Drill
          Issue Type: Improvement
            Reporter: Vlad Rozov
            Assignee: Vlad Rozov
            Priority: Minor


Drill uses assertion (-ea) to enable memory allocation tracing. Most of the time assertions are enabled/disabled globally (for all packages) by using "-ea" java command line option and it leads to excessive CPU and heap utilization. It will be better to limit the impact of assertion enabled to the java "assert" statement as expected by a majority of Java developers and use a separate property (that already exists) to enable/disable direct memory allocation tracing/debugging.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)