Commit 8fddce9d authored by Dominik Inführ's avatar Dominik Inführ Committed by Commit Bot

[heap] Use ManualGCScope for test with weak handle

Otherwise concurrent allocation might start incremental marking, which
would then mark the global handle.

Bug: v8:10315
Change-Id: Ibc681b001847a7c52e9fd8a0420e42a0d0ecfbda
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2424004Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70054}
parent 5553afe1
...@@ -546,7 +546,7 @@ TEST(WeakGlobalUnmodifiedApiHandlesScavenge) { ...@@ -546,7 +546,7 @@ TEST(WeakGlobalUnmodifiedApiHandlesScavenge) {
} }
TEST(WeakGlobalHandlesMark) { TEST(WeakGlobalHandlesMark) {
FLAG_stress_incremental_marking = false; ManualGCScope manual_gc_scope;
CcTest::InitializeVM(); CcTest::InitializeVM();
Isolate* isolate = CcTest::i_isolate(); Isolate* isolate = CcTest::i_isolate();
Factory* factory = isolate->factory(); Factory* factory = isolate->factory();
......
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