[test] Fix test case for GC Stress testing.
We need to keep strong references to the final map, otherwise the test may start failing randomly depending on GC timing, because the optimized code will get deoptimized when the map disappears. Bug: v8:9236 Change-Id: I3c18cba96546020b4d70b95993e1531e787ed253 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1607652 Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Reviewed-by: Maya Lekova <mslekova@chromium.org> Cr-Commit-Position: refs/heads/master@{#61438}
Showing
Please
register
or
sign in
to comment