Revert "[runtime] Amortize descriptor array growing for fast-mode prototypes"
This reverts commit 2de2d3dc. Reason for revert: https://ci.chromium.org/p/v8/builders/ci/V8%20Mac64%20GC%20Stress/11982? Original change's description: > [runtime] Amortize descriptor array growing for fast-mode prototypes > > This avoids an O(n^2) algorithm that creates an equal amount of garbage. > Even though the actual final descriptor array might be a little bigger, > it reduces peak memory usage by allocating less. > > Bug: b:148346655 > Change-Id: I984159d36e9e0b37c19bc81afc90c94c9a9d168a > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2135728 > Commit-Queue: Toon Verwaest <verwaest@chromium.org> > Reviewed-by: Igor Sheludko <ishell@chromium.org> > Cr-Commit-Position: refs/heads/master@{#67031} TBR=ishell@chromium.org,verwaest@chromium.org Change-Id: I366141f1dbba62ff268df7ef625cc318f8423818 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: b:148346655 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2139212Reviewed-by: Nico Hartmann <nicohartmann@chromium.org> Commit-Queue: Nico Hartmann <nicohartmann@chromium.org> Cr-Commit-Position: refs/heads/master@{#67032}
Showing
Please
register
or
sign in
to comment