• hpayer's avatar
    [heap] Fix finalization of incremental marking race. · 4f2009eb
    hpayer authored
    Between requesting finalization of incremental marking and the time where we handle the request in the stack guard, the current full GC may have finished. In that case the stack guard triggers to late and tries to finalize marking in a state where marking is not going on.
    
    Note that a cleaner fix would be to express the finalization phase in a special marking phase. I will do that in a follow-up CL.
    
    BUG=
    
    Review URL: https://codereview.chromium.org/1493133003
    
    Cr-Commit-Position: refs/heads/master@{#32552}
    4f2009eb
heap.cc 205 KB