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 2018/08/31 18:39:00 UTC

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

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

Vlad Rozov closed DRILL-6001.
-----------------------------
    Resolution: Won't Do

> 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
(v7.6.3#76005)