464dbb7e80
This reverts commit bca38dbf29
.
Reason for revert: Makes ODROIDs flaky.
BUG=v8:8086
Original change's description:
> [Tests] Fix some OOM failures on Android by explicitly setting max_old_space_size.
>
> BUG=v8:8040
>
> Change-Id: I8de22af3978f2a8eb844eabdb757bd635050f901
> Reviewed-on: https://chromium-review.googlesource.com/1181432
> Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
> Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#55227}
TBR=ulan@chromium.org,rmcilroy@chromium.org
Bug: v8:8040
Change-Id: Ife980e8706ebbff4d86d87739c2f621d7a976039
Reviewed-on: https://chromium-review.googlesource.com/1188322
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Reviewed-by: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#55391}
12 lines
442 B
JavaScript
12 lines
442 B
JavaScript
// Copyright 2017 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// Flags: --allow-natives-syntax --nostress-incremental-marking
|
|
|
|
// This test uses a lot of memory and fails with flaky OOM when run
|
|
// with --stress-incremental-marking on TSAN.
|
|
|
|
a = "a".repeat(%StringMaxLength() - 3);
|
|
assertThrows(() => new RegExp("a" + a), SyntaxError);
|