Source/platform/heap/ThreadState.cpp
// Trigger garbage collection on a 50% increase in size, but not for
// less than 512kbytes.
Trigger garbage collection on a 50% increase in size, but not for
less than 512kbytes.
Trigger garbage collection on a 50% increase in size but not for less than 512kbytes .
static bool increasedEnoughToGC(size_t newSize, size_t oldSize)
{
    if (newSize < 1 << 19)
        return false;
    return newSize > oldSize + (oldSize >> 1);
}
static bool increasedEnoughToGC ( size_t newSize , size_t oldSize ) { if ( newSize < 1 << 19 ) return false ; return newSize > oldSize + ( oldSize >> 1 ) ; }
Trigger garbage collection on a 50% increase in size, but not for
less than 512kbytes.
Trigger garbage collection on a 50% increase in size but not for less than 512kbytes .