Fix comment for debug_generic_malloc_inner[_ignore_off_page]
authorIvan Maidanski <ivmai@mail.ru>
Thu, 15 Mar 2018 07:41:22 +0000 (10:41 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 15 Mar 2018 07:41:22 +0000 (10:41 +0300)
(fix of commit 38965f279)

* dbg_mlc.c [DBG_HDRS_ALL] (GC_debug_generic_malloc_inner): Update
comment after adding GC_start_debugging[_inner] call.

dbg_mlc.c

index 77497eb..f087ab4 100644 (file)
--- a/dbg_mlc.c
+++ b/dbg_mlc.c
@@ -577,8 +577,7 @@ STATIC void * GC_debug_generic_malloc(size_t lb, int knd, GC_EXTRA_PARAMS)
   /* An allocation function for internal use.  Normally internally      */
   /* allocated objects do not have debug information.  But in this      */
   /* case, we need to make sure that all objects have debug headers.    */
-  /* We assume debugging was started in collector initialization, and   */
-  /* we already hold the GC lock.                                       */
+  /* We assume we already hold the GC lock.                             */
   GC_INNER void * GC_debug_generic_malloc_inner(size_t lb, int k)
   {
     void * result = GC_generic_malloc_inner(