Commit 7e61eb33 authored by Ulan Degenbaev's avatar Ulan Degenbaev Committed by Commit Bot

[test] Make test-api/ScavengeExternal*String non-threaded test.

ScavengeExternalString and ScavengeExternalOneByteString clear GC flags,
which confuses concurrent sweeping that was started from another test.

Tests that mutate flags should not be threaded.

Bug: v8:7671
Change-Id: I08656d06fe85ff45baca685ebe5982528aad774c
Reviewed-on: https://chromium-review.googlesource.com/1019102Reviewed-by: 's avatarPeter Marshall <petermarshall@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52690}
parent 9ab6621a
......@@ -786,8 +786,7 @@ THREADED_TEST(NewExternalForVeryLongString) {
}
}
THREADED_TEST(ScavengeExternalString) {
TEST(ScavengeExternalString) {
ManualGCScope manual_gc_scope;
i::FLAG_stress_compaction = false;
i::FLAG_gc_global = false;
......@@ -811,8 +810,7 @@ THREADED_TEST(ScavengeExternalString) {
CHECK_EQ(1, dispose_count);
}
THREADED_TEST(ScavengeExternalOneByteString) {
TEST(ScavengeExternalOneByteString) {
ManualGCScope manual_gc_scope;
i::FLAG_stress_compaction = false;
i::FLAG_gc_global = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment