[heap] Restore always allocate scope in SimulateNewspaceFull
This reverts part of f3babaf
that removed the scope in the test function
Bug: v8:10298
Change-Id: I3c515307b9ea4d03e0d7427422d46302e78d8b38
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2087395
Reviewed-by: Dominik Inführ <dinfuehr@chromium.org>
Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#66581}
This commit is contained in:
parent
0954f205dc
commit
3a86dca147
@ -730,6 +730,7 @@ RUNTIME_FUNCTION(Runtime_SimulateNewspaceFull) {
|
||||
HandleScope scope(isolate);
|
||||
Heap* heap = isolate->heap();
|
||||
NewSpace* space = heap->new_space();
|
||||
AlwaysAllocateScopeForTesting always_allocate(heap);
|
||||
do {
|
||||
FillUpOneNewSpacePage(isolate, heap);
|
||||
} while (space->AddFreshPage());
|
||||
|
Loading…
Reference in New Issue
Block a user