• Yang Guo's avatar
    Introduce SimpleNumberDictionary. · 3857b44e
    Yang Guo authored
    This is somewhat of a revival of what used to be
    UnseededNumberDictionary. The difference to NumberDictionary is that
    each entry only has two fields (no field for property details) and there
    is no header field for a bitfield.
    
    The reason for this change is memory regression introduced when we
    removed UnseededNumberDictionary (6e1c57ea). We now use
    SimpleNumberDictionary for
    - slow template instantiation cache
    - code stubs table
    - value serializer map
    - stack frame cache
    - type profile source positions
    
    R=ishell@chromium.org, ulan@chromium.org
    
    Bug: chromium:783695
    Change-Id: I3cd32e485060bb379fb2279eeefbbbded7455f0e
    Reviewed-on: https://chromium-review.googlesource.com/885811Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Yang Guo <yangguo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#50869}
    3857b44e
heap.h 114 KB