mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-23 20:03:31 +01:00
Disable SENTINELS in buffers: it may be responsible for making platform mallocs() be inefficient, and we havent needed it in a long long time.
svn:r10994
This commit is contained in:
parent
9260a824ef
commit
9fb77a6479
@ -3,6 +3,11 @@ Changes in version 0.2.0.4-alpha - 2007-??-??
|
|||||||
- Be even more aggressive about releasing RAM from small
|
- Be even more aggressive about releasing RAM from small
|
||||||
empty buffers. Thanks to our free-list code, this shouldn't be too
|
empty buffers. Thanks to our free-list code, this shouldn't be too
|
||||||
performance-intensive.
|
performance-intensive.
|
||||||
|
- Disable sentiel-based debugging for buffer code: we squashed all
|
||||||
|
the bugs that this was supposed to detect a long time ago, and
|
||||||
|
now its only effect is to change our buffer sizes from nice
|
||||||
|
powers of two (which platform mallocs tend to like) to values
|
||||||
|
siightly over powers of two (which make some platform mallocs sad).
|
||||||
|
|
||||||
|
|
||||||
Changes in version 0.2.0.3-alpha - 2007-07-29
|
Changes in version 0.2.0.3-alpha - 2007-07-29
|
||||||
|
@ -15,7 +15,7 @@ const char buffers_c_id[] =
|
|||||||
|
|
||||||
#include "or.h"
|
#include "or.h"
|
||||||
|
|
||||||
#define SENTINELS
|
#undef SENTINELS
|
||||||
#undef CHECK_AFTER_RESIZE
|
#undef CHECK_AFTER_RESIZE
|
||||||
#undef PARANOIA
|
#undef PARANOIA
|
||||||
#undef NOINLINE
|
#undef NOINLINE
|
||||||
|
Loading…
Reference in New Issue
Block a user