specified the type in a log message in lib/obj.c
This commit is contained in:
parent
92c7394658
commit
1995deec8a
@ -38,7 +38,7 @@ void* moo_allocbytes (moo_t* moo, moo_oow_t size)
|
|||||||
if (!ptr && moo->errnum == MOO_EOOMEM && !(moo->option.trait & MOO_NOGC))
|
if (!ptr && moo->errnum == MOO_EOOMEM && !(moo->option.trait & MOO_NOGC))
|
||||||
{
|
{
|
||||||
moo_gc (moo);
|
moo_gc (moo);
|
||||||
MOO_LOG4 (moo, MOO_LOG_INFO,
|
MOO_LOG4 (moo, MOO_LOG_GC | MOO_LOG_INFO,
|
||||||
"GC completed - current heap ptr %p limit %p size %zd free %zd\n",
|
"GC completed - current heap ptr %p limit %p size %zd free %zd\n",
|
||||||
moo->curheap->ptr, moo->curheap->limit,
|
moo->curheap->ptr, moo->curheap->limit,
|
||||||
(moo_oow_t)(moo->curheap->limit - moo->curheap->base),
|
(moo_oow_t)(moo->curheap->limit - moo->curheap->base),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user