• mstarzinger's avatar
    [heap] Separate out optimized code map processing. · 087513d6
    mstarzinger authored
    This separates the post-processing step for optimized code maps out of
    the CodeFlusher. It uses the complete SharedFunctionInfo::Iterator to
    visit all candidates instead of gathering candidates during marking.
    
    Gathering candidates during marking no longer makes sense, now that the
    majority of SharedFunctionInfo objects will hold such an optimized code
    map. Also it reduces complexity of the implementation. Also conflating
    this mechanism with "code flushing" was confusing.
    
    This reverts commit 7f1fb29f.
    
    R=ulan@chromium.org
    
    Review URL: https://codereview.chromium.org/1418453008
    
    Cr-Commit-Position: refs/heads/master@{#31876}
    087513d6
mark-compact.h 27.7 KB