• Maya Lekova's avatar
    [test] Fix flaky OOM regression test · a61f5ccd
    Maya Lekova authored
    The test was originally testing the max string length limit, but due to
    refactoring of Array.join started consuming too much memory, resulting in
    OOMs on TSAN builds. The new implementation still checks for the limit,
    while reducing the memory consumption drastically.
    
    R=jarin@chromium.org
    
    Bug: v8:8504, chromium:336820
    Change-Id: I4db9001541103d5908149e623ce4a4beee551e6c
    Reviewed-on: https://chromium-review.googlesource.com/c/1426839Reviewed-by: 's avatarJaroslav Sevcik <jarin@chromium.org>
    Commit-Queue: Maya Lekova <mslekova@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#59000}
    a61f5ccd
regress-336820.js 1.78 KB