Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0700ee330c58972a00608b6498103ee6f07751e9
https://github.com/WebKit/WebKit/commit/0700ee330c58972a00608b6498103ee6f07751e9
Author: Claudio Saavedra <[email protected]>
Date: 2026-09-10 (Thu, 10 Sep 2026)
Changed paths:
M Tools/TestWebKitAPI/Tests/WebCore/SharedMemoryTests.cpp
Log Message:
-----------
REGRESSION(320449@main): [GLib]
SharedMemoryFromMemoryTest.CreateHandleCopyFromMemory times out on regions of 4
GB and above
https://bugs.webkit.org/show_bug.cgi?id=323626
Reviewed by Carlos Alberto Lopez Perez.
320449@main added SharedMemoryTests.cpp to the CMake build, so it runs on the
GTK and WPE ports for the first time. The test tolerates the 4 GB + 1 and
20 GB regions failing to allocate and skips them in that case. On Linux the
allocation never fails because of overcommit, and CreateHandleCopyFromMemory,
the only one of these tests that does any work outside Cocoa, then copies the
whole region into a freshly created memfd. That commits up to 42 GB and takes
around 30 seconds even when run alone, at the timeout of run-api-tests, so
every GTK and WPE bot times out on these cases.
Outside Cocoa these sizes only exercise a memcpy into shared memory, which the
smaller regions already cover, so leave them to Cocoa, matching how the memory
sources are already selected per platform.
* Tools/TestWebKitAPI/Tests/WebCore/SharedMemoryTests.cpp:
Canonical link: https://commits.webkit.org/320816@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications