• Michael Achenbach's avatar
    Revert "[api] Assign serial numbers when template infos are added to cache" · 5e39dac7
    Michael Achenbach authored
    This reverts commit db16dce2.
    
    Reason for revert:
    https://ci.chromium.org/p/v8/builders/ci/V8%20Blink%20Linux%20Debug/8771
    
    Original change's description:
    > [api] Assign serial numbers when template infos are added to cache
    >
    > Instead of assigning serial numbers when the template infos are
    > created, this patch creates serial numbers only when they are added to
    > cache.
    >
    > This way only the ones that are first instantiated are allocated the
    > fast template cache. Previously, various accessors and methods that
    > would almost never get instantiated got assigned to the fast template
    > cache.
    >
    > Bug: v8:11284
    > Change-Id: I6b633e56e59cbfc3fa5d4ee2db53ca2849eecdd7
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2621081
    > Reviewed-by: Camillo Bruni <cbruni@chromium.org>
    > Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
    > Commit-Queue: Sathya Gunasekaran  <gsathya@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#73655}
    
    Bug: v8:11284
    Change-Id: I382915b2c1be1d87d7a7a961d13e1dd5e3951a4f
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2786844
    Auto-Submit: Michael Achenbach <machenbach@chromium.org>
    Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    Cr-Commit-Position: refs/heads/master@{#73659}
    5e39dac7
heap-inl.h 26.5 KB