From e30bd17ad68c7b0fa1ff3903a925803576d3369f Mon Sep 17 00:00:00 2001 From: playX Date: Thu, 29 Apr 2021 07:57:21 +0300 Subject: [PATCH] Fix documentation --- doc/mimalloc-doc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/mimalloc-doc.h b/doc/mimalloc-doc.h index 874815d6..a62f3433 100644 --- a/doc/mimalloc-doc.h +++ b/doc/mimalloc-doc.h @@ -730,6 +730,7 @@ bool mi_heap_check_owned(mi_heap_t* heap, const void* p); /// @see mi_heap_contains_block() /// @see mi_heap_get_default() bool mi_check_owned(const void* p); + /// Type of deferred free functions. /// @param heap The heap. /// @param force If \a true all outstanding items should be freed. @@ -744,7 +745,8 @@ typedef void (mi_local_deferred_free_fun)(mi_heap_t* heap,bool force,unsigned lo /// @param deferred_free Address of a deferred free-ing function or \a NULL to unregister. /// @param arg Argument that will be passed on to the deferred free function. /// -/// Some runtime systems use deferred free-ing, for example when using +/// Some runtime systems (JSC through lazy sweeping, JikesRVM has +/// both lazy sweeping and deferred RC) use deferred free-ing, for example when using /// reference counting to limit the worst case free time. /// Such systems can register (re-entrant) deferred free function /// to free more memory on demand. When the \a force parameter is