• Shiyu Zhang's avatar
    Reland "Create a fast path to get migration target when updating map" · 6ec90ece
    Shiyu Zhang authored
    This is a reland of c285380c
    
    Original change's description:
    > Create a fast path to get migration target when updating map
    >
    > During map updating, store the pointer to new map in the
    > raw_transitions slot of the old map that is deprecated from map
    > transition tree. Thus, we can get the migration target directly
    > instead of TryReplayPropertyTransitions when updating map.
    >
    > This can improve Speedometer2.0 Elm-TodoMVC case by ~5% on ATOM
    > Chromebook and ~9% on big-core Ubuntu.
    >
    > Change-Id: I56f9ce5183bbdd567b964890f623ef0ceed9b7db
    > Reviewed-on: https://chromium-review.googlesource.com/1233433
    > Commit-Queue: Shiyu Zhang <shiyu.zhang@intel.com>
    > Reviewed-by: Igor Sheludko <ishell@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#56303}
    
    Change-Id: Idf0b7716b92a6a15bfe58721c2c34dbd02b31137
    Reviewed-on: https://chromium-review.googlesource.com/c/1270261Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Commit-Queue: Shiyu Zhang <shiyu.zhang@intel.com>
    Cr-Commit-Position: refs/heads/master@{#56588}
    6ec90ece
map.h 46.3 KB