mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.
(update_data): Fix handling of wrapping back
This commit is contained in:
parent
c3ab42a82d
commit
e2e390fad8
@ -1,6 +1,7 @@
|
|||||||
2009-02-06 Ulrich Drepper <drepper@redhat.com>
|
2009-02-06 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* malloc/memusage.c (update_data): Fix handling of wrapping back
|
* malloc/memusage.c (DEFAULT_BUFFER_SIZE): Change to 32768.
|
||||||
|
(update_data): Fix handling of wrapping back
|
||||||
to the beginning of the buffer.
|
to the beginning of the buffer.
|
||||||
|
|
||||||
[BZ #9823]
|
[BZ #9823]
|
||||||
|
@ -93,7 +93,7 @@ static __thread uintptr_t start_sp;
|
|||||||
#define peak_stack peak_use[1]
|
#define peak_stack peak_use[1]
|
||||||
#define peak_total peak_use[2]
|
#define peak_total peak_use[2]
|
||||||
|
|
||||||
#define DEFAULT_BUFFER_SIZE 1024
|
#define DEFAULT_BUFFER_SIZE 32768
|
||||||
static size_t buffer_size;
|
static size_t buffer_size;
|
||||||
|
|
||||||
static int fd = -1;
|
static int fd = -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user