dc2a85bed7fcfceab0df1867fbc1d35796261ded |
|
05-Jan-2018 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
3b8a3c43a063d5a08826af1266414a2969fa60d6 |
|
05-Jan-2018 |
Mark Andrews <marka@isc.org> |
unconditionally typedef summarystat_t for coverity
(cherry picked from commit a0e66ef6dd8d1cfd4420be0ffd363d7c53dc794b) |
a1cf2291a974b55e9ba6aaa6fa97c1caf5367903 |
|
07-Dec-2017 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
16f43564c6875e2bedd346c18c494933ad51e4fa |
|
06-Dec-2017 |
Mukund Sivaraman <muks@isc.org> |
Backport performance work to 9.11 (#45637) |
ad1317338af79edad878c9c3e4361798503310ba |
|
03-Oct-2017 |
Mark Andrews <marka@isc.org> |
4748. [cleanup] Sprintf to snprintf coversions. [RT #46132]
(cherry picked from commit a009d03a1abf73c8146c1696ce1100e62c3b9dbb) |
5a93d3be4e0c652f455066bb764416173a00c951 |
|
14-Sep-2017 |
Mark Andrews <marka@isc.org> |
more str{n}{cat,cpy} corrections rt45981_stage2
(cherry picked from commit cb629cdeda09bb5a0be90e491b22c4b58d28f900) |
6fb9b25791778f69002eb72be6235e20d98ec452 |
|
22-Jul-2017 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
bfde61d5194a534d800f3b90008d1f52261922c5 |
|
20-Jul-2017 |
Mark Andrews <marka@isc.org> |
4654. [cleanup] Don't use C++ keywords delete, new and namespace.
[RT #45538]
(cherry picked from commit 4bf32aa58774452b05433716f8fa298257dd7fda) |
0c27b3fe77ac1d5094ba3521e8142d9e7973133f |
|
27-Jun-2016 |
Mark Andrews <marka@isc.org> |
4401. [misc] Change LICENSE to MPL 2.0. |
7a00d69909ace5dc11bcff9c1e07c311f92a7f8e |
|
26-May-2016 |
Witold Krecicki <wpk@isc.org> |
4376. [experimental] Added support for Catalog Zones, a new method for
provisioning secondary servers in which a list of
zones to be served is stored in a DNS zone and can
be propagated to slaves via AXFR/IXFR. [RT #41581]
4375. [func] Add support for automatic reallocation of isc_buffer
to isc_buffer_put* functions. [RT #42394] |
220ba6da875ee8824dd0b21c4446c2a369854efc |
|
05-Mar-2016 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
d4ed29b019c2a65082f6a31e19b1585683926942 |
|
04-Mar-2016 |
Evan Hunt <each@isc.org> |
[rt41656] line length
(cherry picked from commit 6957e9451cc7bf89d44716dfe4266281867e00e5) |
9da98335c185c39591150ccb4e307adc4cea44bc |
|
03-Mar-2016 |
Mukund Sivaraman <muks@isc.org> |
Code cleanups (#41656) |
fc5f1971a1a2ce72c769e7b7297f31ab485b80a0 |
|
09-Jul-2015 |
Evan Hunt <each@isc.org> |
[master] fix build error with ISC_MEM_TRACKLINES=0 |
fba894c98b8f3345a61932be6830993a059a211a |
|
27-Mar-2015 |
Mukund Sivaraman <muks@isc.org> |
Some cleanups in isc mem code (#38896) |
24f2cc7d06e4bb6625f90323e44b42e0cad63588 |
|
09-Mar-2015 |
Mukund Sivaraman <muks@isc.org> |
Fix a possible race in updating stats counters (#38826)
and do some other isc mem cleanups. |
5a505fc4c2e99842052d9409790c7da0b5663bce |
|
25-Feb-2015 |
Mukund Sivaraman <muks@isc.org> |
Add facility to run system test nameds under Valgrind (#38546) |
84ee90b52d4fb443c796f4e1481f98d5a95b5614 |
|
22-Jan-2015 |
Evan Hunt <each@isc.org> |
[master] fix 'total use' accounting
4046. [bug] Accounting of "total use" in memory context
statistics was not correct. [RT #38370] |
c110d61b173a68420d19858abb80285be0dc1120 |
|
21-Jan-2015 |
Tinderbox User <tbox@isc.org> |
update copyright notice / whitespace |
11463c0ac24692e229ec87f307f5e7df3c0a7e10 |
|
20-Jan-2015 |
Evan Hunt <each@isc.org> |
[master] clean up gcc -Wshadow warnings
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381] |
50a745417461a4c007248202bb3a8bf7be426813 |
|
02-Jun-2014 |
Mark Andrews <marka@isc.org> |
3868. [bug] isc_mem_setwater incorrectly cleared hi_called
potentially leaving over memory cleaner running.
[RT #35270] |
b454c0319685041db3f3e8fd7671e1b364fd20c5 |
|
04-Mar-2014 |
Evan Hunt <each@isc.org> |
[master] use ANSI prototypes, clean up some casts |
431a83fb29482c5170b3e4026e59bb14849a6707 |
|
10-Jan-2014 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
e851ea826066ac5a5b01c2c23218faa0273a12e8 |
|
09-Jan-2014 |
Evan Hunt <each@isc.org> |
[master] replace memcpy() with memmove().
3698. [cleanup] Replaced all uses of memcpy() with memmove().
[RT #35120] |
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840e |
|
03-Dec-2013 |
Mark Andrews <marka@isc.org> |
3681. [port] Update the Windows build system to support feature
selection and WIN64 builds. This is a work in
progress. [RT #34160] |
45b727f651aba2cbd2f9db51ccfb4b541520a5de |
|
11-Apr-2013 |
Mark Andrews <marka@isc.org> |
silence coverity warnings |
12253af3465f150a3b2f2cdaf15f396a5c060c21 |
|
11-Apr-2013 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
b99bfa184bc9375421b5df915eea7dfac6a68a99 |
|
10-Apr-2013 |
Evan Hunt <each@isc.org> |
[master] unify internal and export libraries
3550. [func] Unified the internal and export versions of the
BIND libraries, allowing external clients to use
the same libraries as BIND. [RT #33131] |
22dd28c5bc1b0319b00a1aa48a2eda36a75d91ee |
|
14-Mar-2013 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
feb067b25a8e33db62e2a7bf2e83bbb7f6eee845 |
|
13-Mar-2013 |
Evan Hunt <each@isc.org> |
[master] add JSON statistics channel
3524. [func] Added an alternate statistics channel in JSON format,
when the server is built with the json-c library:
http://[address]:[port]/json. [RT #32630] |
07cab7ffa8f1dafe6f76ade9a2539b8732ecb7a4 |
|
02-Nov-2012 |
Mark Andrews <marka@isc.org> |
improve isc_mempool_put memory model |
ffd17aca387e886dc3b0a035cb42e737be4ea501 |
|
02-Nov-2012 |
Mark Andrews <marka@isc.org> |
move memory accounting to before free of memory to avoid "using" a pointer after it is freed |
d9baadbb0c659b6af8858d81f58ff2ad56c6af4e |
|
02-Nov-2012 |
Mark Andrews <marka@isc.org> |
add coverity[+free : arg-1] directive |
fcd7c22fdff859e47d290981bb08cd3fc07369a1 |
|
01-Nov-2012 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
bbf31e6b623af575138669bdd7031232867b9166 |
|
01-Nov-2012 |
Mark Andrews <marka@isc.org> |
More coverity fixes:
3410. [bug] Addressed Coverity warnings. [RT #31626]
Squashed commit of the following:
commit 6fec07bbb69ead784063052f2099674f8b52c6b3
Author: Mark Andrews <marka@isc.org>
Date: Tue Oct 30 18:14:35 2012 +1100
use strl{cat,cpy}
commit 19a5d3766f3dbc8a2944b21640a8226a89aae7ba
Author: Mark Andrews <marka@isc.org>
Date: Tue Oct 30 14:38:55 2012 +1100
address unchecked xmlTextWriter* calls |
2f57f353e8d0b761884303f49e0c2a937b7d6243 |
|
26-Oct-2012 |
Evan Hunt <each@isc.org> |
[master] address mem.c compilation problems
3406. [bug] mem.c: Fix compilation errors when building with
ISC_MEM_TRACKLINES or ISC_MEMPOOL_NAMES disabled.
Also, ISC_MEM_DEBUG is no longer optional. [RT #31559] |
c963ca7542743c4b1293b245b8750bfdcdde7580 |
|
18-Jul-2012 |
Mark Andrews <marka@isc.org> |
3351. [bug] isc_mem_put and isc_mem_putanddetach didn't report
caller if either ISC_MEM_DEBUGSIZE or ISC_MEM_DEBUGCTX
memory debugging flags are set. [RT #30243] |
d0d892f44941986629021fcdad388d54de829ea0 |
|
18-Jul-2012 |
Mark Andrews <marka@isc.org> |
3350. [bug] Memory read overrun in isc___mem_reallocate if
ISC_MEM_DEBUGCTX memory debugging flag is set.
[RT #30240] |
dd2a0a6d2dec1c23787351e51b434a838dec5603 |
|
14-May-2012 |
Evan Hunt <each@isc.org> |
Merge statistics code (ATT SoW, rt24117)
This includes the following changes:
3326. [func] Added task list statistics: task model, worker
threads, quantum, tasks running, tasks ready.
[RT #27678]
3325. [func] Report cache statistics: memory use, number of
nodes, number of hash buckets, hit and miss counts.
[RT #27056]
3324. [test] Add better tests for ADB stats [RT #27057]
3323. [func] Report the number of buckets the resolver is using.
[RT #27020]
3322. [func] Monitor the number of active TCP and UDP dispatches.
[RT #27055]
3321. [func] Monitor the number of recursive fetches and the
number of open sockets, and report these values in
the statistics channel. [RT #27054]
3320. [func] Added support for monitoring of recursing client
count. [RT #27009]
3319. [func] Added support for monitoring of ADB entry count and
hash size. [RT #27057] |
5fa46bc91672ef5737aee6f99763161511566c24 |
|
11-Mar-2012 |
Tinderbox User <tbox@isc.org> |
update copyright notice |
28a8f5b0de57d269cf2845c69cb6abe18cbd3b3a |
|
07-Mar-2012 |
Mark Andrews <marka@isc.org> |
set $Id$ |
e334405421979688f2d838805ac67ee47bd62976 |
|
08-Dec-2010 |
Mark Andrews <marka@isc.org> |
2981. [func] Partial DNS64 support (AAAA synthesis). [RT #21991] |
cc4dd0d08dc00c097547814c8a282645e89187c2 |
|
12-Aug-2010 |
Automatic Updater <source@isc.org> |
update copyright notice |
253ae50e09e34721e5cf631406b977f343d4e356 |
|
12-Aug-2010 |
Tatuya JINMEI 神明達哉 <ji <jinmei@isc.org> |
required ctx is valid in mem_isovermem(). |
27fe1966c948ba0c1c9d0d831ea3d8bf32d052ac |
|
12-Aug-2010 |
Tatuya JINMEI 神明達哉 <ji <jinmei@isc.org> |
2937. [bug] Worked around an apparent race condition in over
memory conditions. Without this fix a DNS cache DB or
ADB could incorrectly stay in an over memory state,
effectively refusing further caching, which
subsequently made a BIND 9 caching server unworkable.
This fix prevents this problem from happening by
polling the state of the memory context, rather than
making a copy of the state, which appeared to cause
a race. This is a "workaround" in that it doesn't
solve the possible race per se, but several experiments
proved this change solves the symptom. Also, the
polling overhead hasn't been reported to be an issue.
This bug should only affect a caching server that
specifies a finite max-cache-size. It's also quite
likely that the bug happens only when enabling threads,
but it's not confirmed yet. [RT #21818] |
2fca4a3321c0137a0bcaa4692564b249ae26322e |
|
12-May-2010 |
Mark Andrews <marka@isc.org> |
2882. [bug] Remove memory context from list of active contexts
before clearing 'magic'. [RT #21274] |
4d42b714be10e6f163d23507e4e3a396a8ac0364 |
|
05-Mar-2010 |
Automatic Updater <source@isc.org> |
update copyright notice |
d1a5fdc34a3d7caabead7bbf0cbf6fa7d89f0910 |
|
04-Mar-2010 |
Mark Andrews <marka@isc.org> |
2955. [bug] The size of a memory allocation was not always properly
recorded. [RT #20927] |
e7c38ca9635e73c9a928bbab9c73c2abbd499f8b |
|
03-Sep-2009 |
Evan Hunt <each@isc.org> |
- define isc_mem_reallocate() in the abstract API for export lib [rt20208]
- define BIND9 in config.h.win32
- fix problems in mem.h caused by the win32 preprocessor failing to
expand macros used within macros
- silence a win32 compiler warning in hip_55.c |
8fec8134ea13c2c082c3e63f1ce0afd851e45a91 |
|
02-Sep-2009 |
Tatuya JINMEI 神明達哉 <ji <jinmei@isc.org> |
suppress compiler warnings [RT #20203] |
823ca3c14f1596341bdd50707c01f3b529b75b4a |
|
02-Sep-2009 |
Automatic Updater <source@isc.org> |
update copyright notice |
307d2084502eddc7ce921e5ce439aec3531d90e0 |
|
01-Sep-2009 |
Tatuya JINMEI 神明達哉 <ji <jinmei@isc.org> |
2660. [func] Add a new set of DNS libraries for non-BIND9
applications. See README.libdns. [RT #19369] |
6fbeed7f8fa757242a0ef096af43e640d9b33bde |
|
16-Feb-2009 |
Mark Andrews <marka@isc.org> |
silence 'Different types treated as unsigned for >=.' warning |
77d90dc2b51e672111be97e7920862c97f446c4d |
|
11-Feb-2009 |
Tatuya JINMEI 神明達哉 <ji <jinmei@isc.org> |
2547. [bug] openssl_link.c:mem_realloc() could reference an
out-of-range area of the source buffer. New public
function isc_mem_reallocate() was introduced to address
this bug. [RT #19313] |
3319413a678915b8b37aff0dbcc78a69ae58b5bb |
|
23-Jan-2009 |
Automatic Updater <source@isc.org> |
update copyright notice |
f148f53794956f491f6527430a93c2c8d884a212 |
|
22-Jan-2009 |
Mark Andrews <marka@isc.org> |
2536. [cleanup] Silence some warnings when -Werror=format-security is
specified. [RT #19083] |
3f42cf2f3e4dc7e740b4609ba7d7430292348f2b |
|
02-Apr-2008 |
Mark Andrews <marka@isc.org> |
2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091]
back out incorrect branch rt1091 and apply correct branch rt1091a. |
a76b380643a22f23a67a9df284e86cd7ef7608c1 |
|
01-Apr-2008 |
Mark Andrews <marka@isc.org> |
2349. [func] Provide incremental re-signing support for secure
dynamic zones. [RT #1091] |
db0008c4486414b81e90dca9938e1fc2320e5133 |
|
01-Apr-2008 |
Automatic Updater <source@isc.org> |
update copyright notice |
cffe96e26744abcf33494837b234219046a631d8 |
|
31-Mar-2008 |
Mark Andrews <marka@isc.org> |
2346. [func] Memory statistics now cover all active memory contexts
in increased detail. [RT #17580] |
9a7d202077fae00fbdca610d8a8d90689e30f331 |
|
07-Feb-2008 |
Mark Andrews <marka@isc.org> |
2330. [bug] Remove potential race condition when handling
over memory events. [RT #17572]
WARNING: API CHANGE: over memory callback
function now needs to call isc_mem_waterack().
See <isc/mem.h> for details. |
2f012d936b5ccdf6520c96a4de23721dc58a2221 |
|
19-Jan-2008 |
Automatic Updater <source@isc.org> |
update copyright notice |
1da14e066c23245c255dedb311d5a9cf0e5bb667 |
|
03-Jan-2008 |
Automatic Updater <source@isc.org> |
update copyright notice |
f5d0f495847eb4eb9f0058e73051f855800bee0b |
|
02-Jan-2008 |
Mark Andrews <marka@isc.org> |
2285. [func] Test framework for client memory context management.
[RT #17377] |
404df30f4fcbd318dd1e3cc027d2b5abff3ab6d5 |
|
26-Nov-2007 |
Mark Andrews <marka@isc.org> |
2265. [bug] Test that the memory context's basic_table is non NULL
before freeing. [RT #17265] |
c810393bd89ee3e4be7a6e1eea097a0705b5979a |
|
31-Oct-2007 |
Mark Andrews <marka@isc.org> |
whitespace |
ec5347e2c775f027573ce5648b910361aa926c01 |
|
19-Jun-2007 |
Automatic Updater <source@isc.org> |
update copyright notice |
a56f5ada432128085e4a06815328023ee0c9610d |
|
06-Mar-2007 |
Mark Andrews <marka@isc.org> |
2157. [func] dns_db_transfernode() created. [RT #16685]
2156. [bug] Fix node reference leaks in lookup.c:lookup_find(),
resolver.c:validated() and resolver.c:cache_name().
Fix a memory leak in rbtdb.c:free_noqname().
Make lookup.c:lookup_find() robust against
event leaks. [RT #16685] |
acb6a99ccb1aa588140853e515fa61542fda77d9 |
|
27-Feb-2007 |
Mark Andrews <marka@isc.org> |
temorarially comment out INSIST |
58f32ac26ea330054f7b85579cd93a6376168fe7 |
|
26-Feb-2007 |
Mark Andrews <marka@isc.org> |
2149. [bug] isc_mem_checkdestroyed() failed to abort on
if there were still active memory contexts.
[RT #16672] |
25380f483f80139094f00eab575ba1ce6ee60ecf |
|
14-Feb-2007 |
Mark Andrews <marka@isc.org> |
%ld and (long) cast for size_t |
cdce8b88c63f864cb5c91aa128c1cf4523638500 |
|
14-Feb-2007 |
Mark Andrews <marka@isc.org> |
update copyright notice |
96ea71632887c58a9d00f47eb318bf76b35903c3 |
|
13-Feb-2007 |
Mark Andrews <marka@isc.org> |
2134. [func] Additional statistics support. [RT #16666] |
f2b2de10ced1a819a62435d12fcfa66f4356f899 |
|
08-Dec-2006 |
Mark Andrews <marka@isc.org> |
0 => 0U |
e60f01cdd29c71e9224273214521b15aef4d4555 |
|
07-Dec-2006 |
Mark Andrews <marka@isc.org> |
2116. [bug] 'rndc reload' could cause the cache to continually
be cleaned. [RT #16401] |
acb4f5236966c2b680b949c1eda826948b24fc23 |
|
05-Jan-2006 |
Mark Andrews <marka@isc.org> |
update copyright notice |
e9733bc599f30033ffe7af69f5fca254fb59d46e |
|
04-Jan-2006 |
Mark Andrews <marka@isc.org> |
1949. [func] Addition memory leakage checks. [RT #15544] |
4ba6b6a7ef064e806dd56c8a3a42f1b0f2299404 |
|
23-Aug-2005 |
Mark Andrews <marka@isc.org> |
silence compiler warnings |
18d0b5e54be891a1aa938c165b6d439859121ec8 |
|
12-Jul-2005 |
Mark Andrews <marka@isc.org> |
1900. [port] freebsd: pthread_mutex_init can fail if it runs out
of memory. [RT #14995] |
016c0a82f1ce3fe4d362d7c9cf8de4377ffaf5a9 |
|
17-Jun-2005 |
Mark Andrews <marka@isc.org> |
1888. [func] "USE INTERNAL MALLOC" is now runtime selectable.
[RT #14892] |
d4d68515d23668cfe804ab2a174a7e427decedd8 |
|
10-Jun-2005 |
Mark Andrews <marka@isc.org> |
1885. [func] Additional memory debugging support to track size
and mctx arguements. [RT #14814] |
5597be9bb88de138dfec9fa9176708443813925e |
|
04-Jun-2005 |
Tatuya JINMEI 神明達哉 <ji <jinmei@isc.org> |
1813. [func] Restructured the data locking framework using
architecture dependent atomic operations (when
available), improving response performance on
multi-processor machines significantly.
x86, x86_64, alpha, and sparc64 are currently
supported.
(RT #13505) |
ab023a65562e62b85a824509d829b6fad87e00b1 |
|
27-Apr-2005 |
Rob Austein <sra@isc.org> |
1851. [doc] Doxygen comment markup. [RT #11398] |
b7b6b01a0d0622181a4c28dd60401f0ab2480d00 |
|
16-Mar-2005 |
Mark Andrews <marka@isc.org> |
update copyright |
52188225731669cd571984c45a1407a55c74ee78 |
|
15-Mar-2005 |
Mark Andrews <marka@isc.org> |
1826. [bug] Missing DESTROYLOCK() in isc_mem_createx() on out
of memory error. [RT #13537] |
1676408640d8283c9f17eec0b183e1302ea7fd70 |
|
18-Mar-2004 |
Mark Andrews <marka@isc.org> |
pullup silence compiler fixes
ifconfig.sh for Solaris 9
README updates |
dafcb997e390efa4423883dafd100c975c4095d6 |
|
05-Mar-2004 |
Mark Andrews <marka@isc.org> |
update copyright notice |
5eb91bd90e3ad3426e5e3213031556a737cf3809 |
|
25-Jul-2003 |
Mark Andrews <marka@isc.org> |
silence compiler warnings (HPUX/11i) |
acc8b7ac3d16538bf223545bbf71899b9accaebb |
|
23-May-2002 |
Mark Andrews <marka@isc.org> |
1299. [port] Darwin uses (unsigned long) for size_t. [RT #2590] |
72b6ec6e5dc910f1eaeb0ad825fe780c845e4d71 |
|
19-Mar-2002 |
Mark Andrews <marka@isc.org> |
lock mctx for DELETE_TRACE call in isc__mempool_put() |
a7038d1a0513c8e804937ebc95fc9cb3a46c04f5 |
|
20-Feb-2002 |
Mark Andrews <marka@isc.org> |
copyrights |
fca9cc33ad4299e58e53aa5273d805477267e27a |
|
22-Jan-2002 |
Brian Wellington <source@isc.org> |
1189. [bug] On some systems, malloc(0) returns NULL, which
could cause the caller to report an out of memory
error. [RT #2398] |
e128be13873e1f8d7a39b76cd4bcadb0a0e72e13 |
|
05-Dec-2001 |
Brian Wellington <source@isc.org> |
track the size of memory blocks when debugging is enabled. |
91cd0f93ad34d23e8b09dca337120f64fbe8f0a1 |
|
27-Nov-2001 |
Andreas Gustafsson <source@isc.org> |
sizeof style |
f1b68725503ff3e46001eee5a1751e29a43a09d1 |
|
27-Nov-2001 |
Andreas Gustafsson <source@isc.org> |
Do not put a space before ';' when terminating a statement or in a 'for' statement. |
059a29a1798752bdaf6fc16899313866c854a144 |
|
19-Oct-2001 |
Andreas Gustafsson <source@isc.org> |
when using the system malloc, isc__mempool_get(), isc__mempool_put(),
and isc_mempool_destroy() failed to update memory statistics. [RT #1915] |
eb7f93819469fa3ac333e3cb9e2cefb798149326 |
|
19-Oct-2001 |
Andreas Gustafsson <source@isc.org> |
style |
dfafc365158af971472b14943d0eb6777c8f4736 |
|
19-Oct-2001 |
Andreas Gustafsson <source@isc.org> |
style |
e69b9ffb0f8b4d1117a682908c9143ebe3efcd6b |
|
12-Oct-2001 |
Andreas Gustafsson <source@isc.org> |
1048. [bug] Servers built with -DISC_MEM_USE_INTERNAL_MALLOC=1
didn't work. |
f8dbd659d097e5265fbff8b45fb718f2bada8d98 |
|
07-Sep-2001 |
Andreas Gustafsson <source@isc.org> |
When ISC_MEM_TRACKLINES=1, don't calle {add,delete}_trace_entry()
for every alloc/free if neither ISC_MEM_DEBUGTRACE nor
ISC_MEM_DEBUGRECORD is turned on. This removes my
last objection to setting ISC_MEM_TRACKLINES=1 by default. |
7f006841fc927e46489b388cfcacd18903e645ad |
|
05-Sep-2001 |
Mark Andrews <marka@isc.org> |
Assertion failure when ISC_MEM_DEBUGRECORD set. |
9ec3c7b42d59aff93cb1e772d01b8946618aa1aa |
|
30-Aug-2001 |
Andreas Gustafsson <source@isc.org> |
mem.c did not compile when ISC_MEM_TRACKLINES was not defined |
90989375ca062ee06d708cb1dc50ed12f1db130a |
|
30-Aug-2001 |
Mark Andrews <marka@isc.org> |
Improve time taken to free memory when ISC_MEM_DEBUGRECORD is set. |
15903c9f3affa4bb76ff1fb69c26ff6f67761f26 |
|
17-Jul-2001 |
Mark Andrews <marka@isc.org> |
memory allocation failure would cause INSIST(ctx->stats[i].gets == 0) failure.
use consistant arguement name for MEMRECORD |
c4958494a98a59ce25e9fecad76a9ab0e36cc59f |
|
12-Jul-2001 |
Danny Mayer <source@isc.org> |
Updates to support LIBISC_EXTERNAL_DATA and misc. cleanup |
c18d42b96bc8b471ec5c19240b2845940bac0d5d |
|
28-Jun-2001 |
Mark Andrews <marka@isc.org> |
use MEM_RECORD rather than debugging > 1 |
594a685c8db363065c44df724236ad90622b6063 |
|
28-Jun-2001 |
Mark Andrews <marka@isc.org> |
Add ISC_MEM_DEBUGGING to set default compile time flags.
Remember ISC_MEM_DEBUGRECORD state when isc_mem_create() is called as
it is dangerous to change this afterwards. |
950d71eee32cb7c6ef9f659154f77bbf5a2cdce6 |
|
28-Jun-2001 |
Mark Andrews <marka@isc.org> |
allow maximum inuse memory to be tracked. |
509ef0c871e7053735d6f6a29907d111b2b25aa6 |
|
11-Jun-2001 |
Andreas Gustafsson <source@isc.org> |
Keep track of the number of times the system malloc() has
failed, to help determine whether a server crash resulted
from a bug in the handling of an out-of-memory condition
or not. |
65640f401a22971de16c01e9a9547d95c55ed45e |
|
06-Jun-2001 |
David Lawrence <source@isc.org> |
Removed the requirement for isc_mem_setwater() that when the callback function
is not null then hi_water must exceed lo_water and both must be > 0.
Now requires hi_water >= lo_water, and they can both be 0. Not allowing
them to be equal was just an unnecessary restriction, and letting them be 0
is useful for the case where the context has had non-zero values set, went
over hi_water and called the callback, and then wanted to remove limits
(perhaps because of a reconfiguration). This allows the callback to
be signaled as ISC_MEM_LOWATER on the next isc_mem_put(), which the caller
might need to terminate any outstanding action that was triggered by
the hi_water. |
92ef1a9b9dbd48ecb507b42ac62c15afefdaf838 |
|
04-Jun-2001 |
David Lawrence <source@isc.org> |
use ISC_MAGIC for all magic numbers, for our friends in EBCDIC land |
b7d448de55dcadf91e9266cc5abd8f3f5b01769b |
|
20-Feb-2001 |
Andreas Gustafsson <source@isc.org> |
no need to specifically ask people to mail bind9-bugs about mempool leaks |
449f4411c9d6a06ba3c8a7a525cefbdbd443117f |
|
15-Feb-2001 |
Andreas Gustafsson <source@isc.org> |
NO NEED TO SHOUT |
47d78f67cba92a1a69fde3a0711dec43dc373e73 |
|
13-Feb-2001 |
Brian Wellington <source@isc.org> |
Give more information when isc_mempool_destroy() dies with an assertion
failure, in the hope that we'll be able to fix the bug one day. |
ba6e506ed2dc11a54a27574e574fc463d1cb2fa5 |
|
13-Feb-2001 |
Mark Andrews <marka@isc.org> |
#if not #ifdef ISC_MEM_TRACKLINES |
b499a7c511d34843ebaf12ecd3be6bf5d85f726a |
|
13-Feb-2001 |
Mark Andrews <marka@isc.org> |
Print out the active memory prior to INSIST/REQUIRE failures. |
9f708f9014e1ee3ee6b436f8ffd8c89ade319745 |
|
13-Feb-2001 |
Brian Wellington <source@isc.org> |
isc_mem_stats() should print memory statistics even when there are no
allocated blocks at the time it's called. |
50179a15d19c1655b1f3168dda03bfa3a7b37e7d |
|
09-Feb-2001 |
Andreas Gustafsson <source@isc.org> |
UNUSED() |
dd0ef1a9d3f3c686e571cefb00dcc94743dd017c |
|
09-Feb-2001 |
Andreas Gustafsson <source@isc.org> |
removed the unused and undocumented functions
isc_mem_preallocate(), isc_mem_valid(), isc_mem_setsplit(), and
isc_mem_restore() |
c674a8d5e7d202ada2bb617e5bb98b1859dc5a62 |
|
09-Feb-2001 |
Andreas Gustafsson <source@isc.org> |
documented the isc_mem_* interface |
770d3b36dab2fd8746894d145f09ee2b2b56eb2e |
|
06-Feb-2001 |
Brian Wellington <source@isc.org> |
ctx->checkfree was only being initialized if USE_INTERNAL_MALLOC was on. |
3c31899857c2e39e32a1cfefe9a6e44621afd6ff |
|
25-Jan-2001 |
Damien Neil <source@isc.org> |
Fix warning in the overrun detection code. |
823eed5ea9296b0f92726d32eed5d7b833353427 |
|
25-Jan-2001 |
Damien Neil <source@isc.org> |
Made the internal malloc() optional, selected by the
ISC_MEM_USE_INTERNAL_MALLOC preprocessor constant. |
499b34cea04a46823d003d4c0520c8b03e8513cb |
|
09-Jan-2001 |
Brian Wellington <source@isc.org> |
copyright update |
697680186792135143176f9d692172ff9f54efba |
|
09-Jan-2001 |
Mark Andrews <marka@isc.org> |
Replace memset() w/ null assignment to last element of array.
the strncpy() fills in the other bytes. |
8e047d3b744eaa588162f9f86d64da237cab8b38 |
|
29-Dec-2000 |
Brian Wellington <source@isc.org> |
microoptimizations to make quantize/rmsize more efficient. |
4c1fee423693ee8f6b2a672f2e57d2fd523c9801 |
|
22-Dec-2000 |
Andreas Gustafsson <source@isc.org> |
don't turn on ISC_MEM_BDEBUGRECORD by default |
48540261f1b01c6abac0074c404c17d7492d5923 |
|
22-Dec-2000 |
Brian Wellington <source@isc.org> |
replace (isc_mem_debugging > 1) with (MEM_RECORD) |
6fda1577669dca9e0d8e4832e407bac34cc12de6 |
|
07-Dec-2000 |
Mark Andrews <marka@isc.org> |
ISC_LINK_*UNSAFE -> ISC_LINK_INITAND* |
1afae09da4911dabe285ae60ca61ddd50d5c443c |
|
07-Dec-2000 |
Brian Wellington <source@isc.org> |
redundant code |
92f9189aeec4ee6385700dbd7c6bed9cabd2e182 |
|
06-Dec-2000 |
David Lawrence <source@isc.org> |
move definition of check_overrun() before its first use |
f616ef2ea9e927f05b070a276c5c48a70329d1a4 |
|
06-Dec-2000 |
David Lawrence <source@isc.org> |
missing close parenthesis for an isc_msgcat_get() in an
"#if ISC_MEM_TRACKLINES" block. |
9cd6d409b78a6f833b681c13a68fbdc7c024fe66 |
|
06-Dec-2000 |
David Lawrence <source@isc.org> |
first pass at using isc_msgcat_get for message strings in libisc |
6e8d5fd2177fc6126216bb641811bffdb080f8e3 |
|
01-Dec-2000 |
Andreas Gustafsson <source@isc.org> |
missed some #ifdef->#if changes |
c52e5c8ed1e2a3a90b912d3e4cb5da9dc32d85f7 |
|
01-Dec-2000 |
Andreas Gustafsson <source@isc.org> |
test the various memory debug flags with #if instead of #ifdef
so that they can be turned off by passing -DISC_MEM_FOO=0 on the compiler
command line; removed some historical cruft |
07892e4443463ff1497d555e9d1773f737aa19fd |
|
25-Nov-2000 |
Mark Andrews <marka@isc.org> |
Memory leak when ISC_MEM_TRACKLINES is defined. |
5e589b5356a4125b5af32605dead82ab8b467c88 |
|
20-Oct-2000 |
Mark Andrews <marka@isc.org> |
Uninitalised link fixes, batch 1. |
78bdbbaccb343b403da8e9813cd28c26bef3d6e8 |
|
13-Oct-2000 |
Mark Andrews <marka@isc.org> |
'more_frags' lost the memory after the last fragment. Add the remaining
memory to the appropriate free list. |
0fded1c8b77b93a8ef87db56b5baa11b11bf59dd |
|
12-Sep-2000 |
Brian Wellington <source@isc.org> |
remove warnings. |
1162a4e02a6594dbb4f57fd288a5d20ab467e4d7 |
|
05-Sep-2000 |
Mark Andrews <marka@isc.org> |
New function isc_mem_putanddetach(). |
3a34b87c878990c6303358efd22265c2c5980c65 |
|
31-Aug-2000 |
Mark Andrews <marka@isc.org> |
Add cache cleaning support (disabled). |
6714319d0fe1f61644115a56fad1c3fe6c48c3ba |
|
26-Aug-2000 |
Brian Wellington <source@isc.org> |
Add a DESTROYLOCK macro to wrap isc_mutex_destroy() |
281fce5ed72eaf6393299b08e7a46198638e82d3 |
|
10-Aug-2000 |
Brian Wellington <source@isc.org> |
When tracing allocations, don't die with an assertion failure if
isc_mem_setdestroycheck(mctx, ISC_FALSE) was called. Also, print the
context in the trace statement. |
40f53fa8d9c6a4fc38c0014495e7a42b08f52481 |
|
01-Aug-2000 |
David Lawrence <source@isc.org> |
Trailing whitespace trimmed. Perhaps running "perl util/spacewhack.pl in your
own CVS tree will help minimize CVS conflicts. Maybe not.
Blame Graff for getting me to trim all trailing whitespace. |
a4cb99bf126e8546d4ce6f112553d586a6a04579 |
|
28-Jul-2000 |
Michael Graff <mgraff@isc.org> |
pasto |
15a44745412679c30a6d022733925af70a38b715 |
|
27-Jul-2000 |
David Lawrence <source@isc.org> |
word wrap copyright notice at column 70 |
6d016e34bf98a543e66710c2bab1b3fbeae3027c |
|
26-Jul-2000 |
Michael Graff <mgraff@isc.org> |
minor formatting issue -- kill trailing whitespace |
bfab56849df65a2d4295b256808a66985cfa9d98 |
|
26-Jul-2000 |
Michael Graff <mgraff@isc.org> |
Revamp memory stuff.
Now, if you define ISC_MEM_TRACKLINES, and set isc_mem_debugging = 2 first
thing in main(), isc_mem_stats() will dump the file/line where any leaking
allocations were made. |
98164bc1ad94a2e3bcc3f461e4063f5ab6aa963a |
|
26-Jun-2000 |
Brian Wellington <source@isc.org> |
Printing a size_t as either %d or %u doesn't work on some 64 bit architectures. |
9c3531d72aeaad6c5f01efe6a1c82023e1379e4d |
|
23-Jun-2000 |
David Lawrence <source@isc.org> |
add RCS id string |
49dbdb0186eb23d87d685b96eaefa9ec3c71d9b8 |
|
22-Jun-2000 |
David Lawrence <source@isc.org> |
update_copyrights |
4c050ce9dccd300248245f5df55c359f10580a66 |
|
06-Jun-2000 |
Brian Wellington <source@isc.org> |
typo |
36bcb04af27e050ddc04b2ff37dbeafc84538fd4 |
|
06-Jun-2000 |
Brian Wellington <source@isc.org> |
If ISC_MEM_DEBUG is enabled, the variable isc_mem_debugging controls
whether messages are printed or not. |
87cafc5e70f79f2586d067fbdd64f61bbab069d2 |
|
01-Jun-2000 |
David Lawrence <source@isc.org> |
Megacommit of many files.
Mostly, several functions that take pointers as arguments, almost
always char * pointers, had those pointers qualified with "const".
Those that returned pointers to previously const-qualified arguments
had their return values qualified as const. Some structure members
were qualified as const to retain that attribute from the variables
from which they were assigned.
The macro DE_CONST was added to isc/util.h to deal with a handful of very
special places where something is qualified as const but really needs to have
its const qualifier removed.
Also cleaned up a few places where variable names clashed with reserved
identifiers. (Which mostly works fine, but strictly speaking is undefined
by the standard.)
Minor other ISC style cleanups. |
6d8cdbaff46ea186ddc83ba9484f453a34645d8b |
|
16-May-2000 |
David Lawrence <source@isc.org> |
185. [bug] Fixed up handling of ISC_MEMCLUSTER_LEGACY. Several
public functions did not have an isc__ prefix, and
referred to functions that had previously been
renamed.
184. [cleanup] Variables/functions which began with two leading
underscores were made to conform to the ANSI/ISO
function declaration and comment reformatting in accordance with coding
style document.
check_overrun conditionally compiled based on ISC_MEM_FILL and
ISC_MEM_CHECKOVERRUN to avoid compiler warnings about being defined
but not used if one of those two CPP symbols is not defined. |
1a69a1a78cfaa86f3b68bbc965232b7876d4da2a |
|
08-May-2000 |
David Lawrence <source@isc.org> |
Megacommit of dozens of files.
Cleanup of redundant/useless header file inclusion.
ISC style lint, primarily for function declarations and standalone
comments -- ie, those that appear on a line without any code, which
should be written as follows:
/*
* This is a comment.
*/ |
669940866360b2e50eed04f18f58ca7fe302c8ba |
|
27-Apr-2000 |
Bob Halley <source@isc.org> |
rename internal functions |
947bd6c648bd29bc226971324de1b30230a56a22 |
|
26-Apr-2000 |
David Lawrence <source@isc.org> |
<isc/mutex.h> does not need <isc/lang.h> or <isc/result.h>. |
fd3271152c6a2ff54348ae9f5369f0962fcc89b6 |
|
12-Apr-2000 |
Bob Halley <source@isc.org> |
Add isc_mem_attach(), isc_mem_detach(), isc_mem_preallocate(), and
isc_mem_setsplit(). Rename isc_mem_destroy_check() to
isc_mem_setdestroycheck(). Add isc_mem_inuse(). |
e6e674f6a5f4be10bc667e081f6b28542f26c908 |
|
04-Apr-2000 |
Andreas Gustafsson <source@isc.org> |
no need to include <isc/ondestroy.h> from <isc/mem.h> |
219052654430905cd6ce74f1893216bf4c0c3059 |
|
16-Mar-2000 |
Bob Halley <source@isc.org> |
Allow zero length allocations/deallocations. |
5f89718b7d354cb4ceb99d0dd952a4faf4597ab8 |
|
26-Feb-2000 |
David Lawrence <source@isc.org> |
Debugging versions of isc_mem_allocate, isc_mem_free and isc_mem_strdup.
This allows memory allocation/freeing to be tracked with ISC_MEM_DEBUG
as with isc_mem_get/isc_mem_put. (To get the debugging information
before, mem.c itself needed to be recompiled with ISC_MEM_DEBUG on.) |
80d19f35232dfcb37a38d80fd7c0a9f755c91320 |
|
10-Feb-2000 |
James Brister <source@isc.org> |
Support ondestroy notification for isc_mem_t. |
ca41b452ede6feaa9d8739ec3cae19389a7b0d03 |
|
04-Feb-2000 |
Bob Halley <source@isc.org> |
update copyrights |
f316fb9a63f28aa33d22a56f1a6179094dd55e25 |
|
01-Feb-2000 |
Andreas Gustafsson <source@isc.org> |
needless use of void pointers made debugging hard |
440be4c866f6935ac069db79a414304507a664c2 |
|
16-Dec-1999 |
Michael Graff <mgraff@isc.org> |
move util.h to <isc/util.h> |
f859f35d857ba99d0fff548db6d568499a58de63 |
|
29-Oct-1999 |
Mark Andrews <marka@isc.org> |
Reverse previous commit. |
fe37278859bce157001cca14cdfa3a761b0d5012 |
|
29-Oct-1999 |
Mark Andrews <marka@isc.org> |
in6_addr.s6_addr is *always* an array. |
b622f2b07bb545749d8dc131777aa9038d587560 |
|
27-Oct-1999 |
Bob Halley <source@isc.org> |
ISC_MEM_FILL was corrupting memory when the block being allocated or freed
was bigger than the memory context's max size.
Force alignment to 8 bytes, since some otherwise 32-bit platforms have a 64
bit "long long". |
78b2f25c9afee0d16f2e75882d9763abcb0872e5 |
|
19-Oct-1999 |
Michael Graff <mgraff@isc.org> |
add isc_mem_setname() |
0ef59eaa9f7db0ebc00127e43f030f9adddd53ef |
|
02-Oct-1999 |
James Brister <source@isc.org> |
Let client turn off the INSIST that all memory is freed (parser needs this
due to yacc). |
50dfb7ee4ada4c9aa30bd18c1b5d9b04be765669 |
|
15-Sep-1999 |
Michael Graff <mgraff@isc.org> |
implement mempool locking |
fe4cf362bb1be3e309a9d418120d52d4312fd0bf |
|
10-Sep-1999 |
James Brister <source@isc.org> |
Fixed bad use of return(). |
ac70da9a2710aa9f343d2f720eb1bdd4191a79ca |
|
09-Sep-1999 |
Bob Halley <source@isc.org> |
allow malloc() and free() to be replaced |
453f3213e9d66257ae353e41d4c2c97dfcaa88ab |
|
03-Sep-1999 |
Bob Halley <source@isc.org> |
undo ISC_MEM_RECORD |
feb72cfbe73ad6deb3703ea1cb70096ccdd7afd0 |
|
03-Sep-1999 |
Mark Andrews <marka@isc.org> |
Record where memory requests and releases were made.
Double isc_mem_put()'s well now cause an INSIST failures.
These are on by default during development but can be turned
off by "#define ISC_MEM_RECORD 0" or equivalent. |
07bd65db256d484940738e1758c8ddca0c8537a3 |
|
29-Jun-1999 |
Mark Andrews <marka@isc.org> |
Catch certain reference after free and failure to initalise bugs
earlier in development rather than later. |
608b132b4e50b77214dc674180f97d6447868774 |
|
08-Jun-1999 |
Michael Graff <mgraff@isc.org> |
remove unnessary casts |
f28a94af2179ff7592d732e409d006582e9af7c3 |
|
08-Jun-1999 |
Michael Graff <mgraff@isc.org> |
comment, clean up a bit |
eb7ef395d27b1104f684e21836f200c052736d07 |
|
08-Jun-1999 |
Michael Graff <mgraff@isc.org> |
implement memory pools |
acfa3ff9c816da4bd0357c3f493168ae7de0606e |
|
26-May-1999 |
Andreas Gustafsson <source@isc.org> |
simplified quantize(); fill memory with nonzero values if ISC_MEM_FILL==1 |
116208651ce75b9182d4219aed3f447a489ee4c6 |
|
28-Apr-1999 |
Bob Halley <source@isc.org> |
include big mallocs in quota |
16baa70f9d74508137ced5c62c117808ceb875bf |
|
28-Apr-1999 |
Bob Halley <source@isc.org> |
basic quota support; fix bugs in more_basic_blocks() |
c72a4d674d6012f6826455db76318c09400bc94f |
|
14-Jan-1999 |
Bob Halley <source@isc.org> |
cleanups |
dad8d67ed017dfa8a9e674056c93ae7ab73d51cf |
|
30-Dec-1998 |
Bob Halley <source@isc.org> |
add isc_mem_strdup |
4cafb28abcaa2a485c7aac1696213435538b92ed |
|
18-Dec-1998 |
Bob Halley <source@isc.org> |
change memctx to mem; cleanups; fix debug trace problem |
3740b569ae76295b941d57a724a43beb75b533ba |
|
14-Dec-1998 |
Bob Halley <source@isc.org> |
the great type change |
1cef22510e8065b4cbd7584d38b6b6f4a2082f53 |
|
13-Dec-1998 |
Bob Halley <source@isc.org> |
convert to util.h; add magic |
1633838b8255282d10af15c5c84cee5a51466712 |
|
12-Dec-1998 |
Bob Halley <source@isc.org> |
update copyrights |
d25afd60ee2286cb171c4960a790f3d7041b6f85 |
|
12-Dec-1998 |
Bob Halley <source@isc.org> |
include config.h |
2983bfafb769d9c64d11bfdde7f5384ea236b4df |
|
11-Dec-1998 |
Bob Halley <source@isc.org> |
get rid of rcsid |
6792dd6d22db8441bb7c4d24819b4f9291e257b1 |
|
11-Dec-1998 |
Bob Halley <source@isc.org> |
conforming changes for new pool |
da4242bf62503672dbabd04e1c84c62680393f25 |
|
04-Dec-1998 |
Bob Halley <source@isc.org> |
replace unexpect.[ch] and fatal.[ch] with error.[ch] |
b10b0bdf3f9f1bc8853373c9ce630df42b08d776 |
|
11-Nov-1998 |
Bob Halley <source@isc.org> |
assume multithreaded unless ISC_SINGLETHREADED is defined |
bf6d2e39124ab3d51c253f7acad9a4abef059be6 |
|
22-Oct-1998 |
Bob Halley <source@isc.org> |
more renaming |
de9282a1eaa50764fdc2e88046f8ff3522e3092e |
|
22-Oct-1998 |
Bob Halley <source@isc.org> |
rename memcluster |
b3b43bcc221f9c948ee7f9c0f9990ffd49d5be34 |
|
16-Sep-1998 |
Bob Halley <source@isc.org> |
remove range code; implement mem_context_destroy more completely |
50f339a799d1e6d512d6056fa5dc01271a1f6e99 |
|
18-Aug-1998 |
Bob Halley <source@isc.org> |
update |
e7b7e6e7468bd5a96d2172699776f4349835f2ce |
|
18-Aug-1998 |
Bob Halley <source@isc.org> |
checkpoint |
0dbe3d9c27c9aaa2d5e60e23f3c605e33d282d11 |
|
18-Aug-1998 |
Bob Halley <source@isc.org> |
checkpoint |
7ee52cc7d195433bb8f55972e2a8ab29668f7bce |
|
18-Aug-1998 |
Bob Halley <source@isc.org> |
base |