Skip to content

Commit 8c1c5e5

Browse files
WorkerGlobalScope: take IOS GC branch for WPE
The aim is to make the GC more reliable on low-memory platforms. In WorkerGlobalScope::deleteJSCodeAndGC the change is to collect even if called with 'Synchronous::No'
1 parent 181fb01 commit 8c1c5e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WebCore/workers/WorkerGlobalScope.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ void WorkerGlobalScope::deleteJSCodeAndGC(Synchronous synchronous)
606606
return;
607607
}
608608
}
609-
#if PLATFORM(IOS_FAMILY)
609+
#if PLATFORM(IOS_FAMILY) || PLATFORM(WPE)
610610
if (!vm().heap.currentThreadIsDoingGCWork()) {
611611
vm().heap.collectNowFullIfNotDoneRecently(JSC::Async);
612612
return;

0 commit comments

Comments
 (0)