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)

Reply via email to