Re: [JAVA] Disable debugging in the client

2018-11-01 Thread Jacques Nadeau
The line you identify in assertion util is only executed if assertions are enabled. You can turn on debug if you pass the system property or it is automatically on if you enable assertions. Normally, for production you don't pass the flag and don't enable assertions. Thus, the default is disabled.

[JAVA] Disable debugging in the client

2018-11-01 Thread Zhenyuan Zhao
Hi Folks, I recently realized that BaseAllocator.DEBUG is always true: https://github.com/apache/arrow/blob/e69659d9cb4b895dcc45a8f10979789dc2324872/java/memory/src/main/java/org/apache/arrow/memory/BaseAllocator.java#L38 https://github.com/apache/arrow/blob/e69659d9cb4b895dcc45a8f10979789dc23248