Skip to content

Commit 181fb01

Browse files
MemoryRelease: take IOS GC branch for WPE
The aim is to make the GC more reliable on low-memory platforms. In MemoryRelease, the change is to request immediate GC in releaseCriticalMemory.
1 parent 72dbc54 commit 181fb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WebCore/page/MemoryRelease.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ static void releaseCriticalMemory(Synchronous synchronous, MaintainBackForwardCa
126126
GCController::singleton().deleteAllCode(JSC::DeleteAllCodeIfNotCollecting);
127127
GCController::singleton().garbageCollectNow();
128128
} else {
129-
#if PLATFORM(IOS_FAMILY)
129+
#if PLATFORM(IOS_FAMILY) || PLATFORM(WPE)
130130
GCController::singleton().garbageCollectNowIfNotDoneRecently();
131131
#else
132132
GCController::singleton().garbageCollectSoon();

0 commit comments

Comments
 (0)