Source/platform/heap/ThreadState.cpp
// FIXME: The heuristics are local for a thread at this
// point. Consider using heuristics that take memory for all threads
// into account.
The heuristics are local for a thread at this
point. Consider using heuristics that take memory for all threads
into account.
The heuristics are local for a thread at this point . Consider using heuristics that take memory for all threads into account .
bool ThreadState::shouldForceConservativeGC()
{
    return !m_sweepInProgress && increasedEnoughToForceConservativeGC(m_stats.totalObjectSpace(), m_statsAfterLastGC.totalObjectSpace());
}
bool ThreadState :: shouldForceConservativeGC ( ) { return ! m_sweepInProgress && increasedEnoughToForceConservativeGC ( m_stats . totalObjectSpace ( ) , m_statsAfterLastGC . totalObjectSpace ( ) ) ; }
FIXME: The heuristics are local for a thread at this
point.
FIXME : The heuristics are local for a thread at this point .
// Do not GC during sweeping. We allow allocation during // finalization, but those allocations are not allowed // to lead to nested garbage collections.