mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-08 03:27:04 +09:00
comment
This commit is contained in:
parent
ae26e0ff3a
commit
63240286c5
1 changed files with 6 additions and 0 deletions
|
@ -963,6 +963,12 @@ void SatoriRecycler::AdjustHeuristics()
|
|||
// if the heap size will definitely be over the limit at next GC, make the next GC a full GC
|
||||
m_nextGcIsFullGc = occupancy + m_gen1Budget > m_totalLimit;
|
||||
|
||||
// TODO: VS do we really want this?
|
||||
//if ((int)m_gcCount[1] - m_gen1CountAtLastGen2 > 64)
|
||||
//{
|
||||
// m_nextGcIsFullGc = true;
|
||||
//}
|
||||
|
||||
size_t available = GetAvailableMemory();
|
||||
if (available < m_gen1Budget)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue