Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6001

Deprecate using assertions (-ea) to enable direct memory allocation tracing.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            vrozov Vlad Rozov
            vrozov Vlad Rozov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: