• duog's avatar
    [rts] Adjust whitehole_spin · 180ca65f
    duog authored
    Rename to whitehole_gc_spin, in preparation for adding stats for the
    whitehole busy-loop in SMPClosureOps.
    
    Make whitehole_gc_spin volatile, and move it to be defined and
    statically initialised in GC.c. This saves some #ifs, and I'm pretty
    sure it should be volatile.
    
    Test Plan: ./validate
    
    Reviewers: bgamari, erikd, simonmar
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D4300
    180ca65f
Stats.c 36.4 KB