-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/66978/
-----------------------------------------------------------

Review request for mesos, Chun-Hung Hsiao and Joseph Wu.


Bugs: MESOS-8885
    https://issues.apache.org/jira/browse/MESOS-8885


Repository: mesos


Description
-------

Debug mode enables additional tracking in libevent to check for common
errors. It is recommended to "only enable debug mode when actually
debugging your program" because "tracking which events are initialized
requires that Libevent use extra memory and CPU".

http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html

We could consider introducing libevent flags in order to be able to
toggle this behavior with an environment variable since it appears
that libevent does not provide one. However, since I don't believe
these assertions have been of value, we can just remove the debug mode
for now.


Diffs
-----

  3rdparty/libprocess/src/libevent.cpp eb3998c2043c7c8be2a6ea1458bb3e1824f6df1e 


Diff: https://reviews.apache.org/r/66978/diff/1/


Testing
-------

make check


Thanks,

Benjamin Mahler

Reply via email to