diff options
Diffstat (limited to 'src/memory.c')
-rw-r--r-- | src/memory.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/memory.c b/src/memory.c index 5958224..2edec46 100644 --- a/src/memory.c +++ b/src/memory.c @@ -437,10 +437,9 @@ teco_memory_get_usage(void) /* * Practically only for Mac OS X. * - * FIXME: Benchmark whether polling in a thread really - * improves performances as much as on Linux. - * FIXME: There is no malloc_trim() natively on Mac OS - can - * we recover from OOMs? + * NOTE: Running in a dedicated polling thread does indeed + * improve our performance significantly. + * * FIXME: We cannot simply overwrite weak malloc() functions * like on Linux since this does not affect shared libraries * unless $DYLD_FORCE_FLAT_NAMESPACE is set. |