• Jason Rahman's avatar
    Fix incorrect purging in MemoryIdler · 64d8f3fd
    Jason Rahman authored
    Summary:
    When the given deadline to futexWaitUntil() is less than the idle
    timeout that controls purging, MemoryIdler should not purge JEMalloc arenas.
    Fix a bug where if the deadline is less than the idle timeout, purging happens
    100% of the time unconditionally.
    
    Reviewed By: mogeb, davidtgoldblatt, jalatif
    
    Differential Revision: D26784786
    
    fbshipit-source-id: 316ef96658d0cc2263b973b0b7c345605784eb36
    64d8f3fd
MemoryIdler.h 7.72 KB