• Patrick Thier's avatar
    Reland "[test] Rework Allocation Site Pretenuring Tests" · bb070c66
    Patrick Thier authored
    This is a reland of df52b65d
    
    Skip test with variant stress-concurrent-allocation.
    The test manually triggers pretenuring for allocation sites, but with
    --stress-concurrent-allocation these pretenuring decisions are reset
    due to low survival rate in old generation.
    
    Original change's description:
    > [test] Rework Allocation Site Pretenruing Tests
    >
    > - Add %PretenureAllocationSite to manually force pretenuring for an
    > allocation site during the next GC.
    > - Replace cctest test-compiler/DecideToPretenureDuringCompilation, which
    > was not triggering the tested behaviour anymore with mjsunit test
    > - Add tests for deoptimizations due to pretenuring decision changes
    > during OSR.
    >
    > Bug: chromium:1193094
    > Change-Id: I5d6c35e2914b705bf96f27051a4a286413b6fe26
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2825593
    > Commit-Queue: Patrick Thier <pthier@chromium.org>
    > Reviewed-by: Maya Lekova <mslekova@chromium.org>
    > Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
    > Cr-Commit-Position: refs/heads/master@{#74032}
    
    Bug: chromium:1193094
    Change-Id: I366a4a074435ebffcf2b3af84152067731cd2a5e
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2839550Reviewed-by: 's avatarDominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarMaya Lekova <mslekova@chromium.org>
    Commit-Queue: Patrick Thier <pthier@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#74062}
    bb070c66
test-compiler.cc 35.6 KB