diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-06-12 03:35:39 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:01 -0500 |
commit | 741941bfad1b5a071bba76fd1e3a4df0e2ed5d95 (patch) | |
tree | 3bae0971eca983f8696b7ab1ad8218cf87e1ddf5 /user/qt5-qtwebkit/jsc-musl.patch | |
parent | 3506160b155883cbcbbd8a1b2fc4adda77eaa571 (diff) | |
download | packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.tar.gz packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.tar.bz2 packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.tar.xz packages-741941bfad1b5a071bba76fd1e3a4df0e2ed5d95.zip |
user/qt5-qtwebkit: Update snapshot
Fixes: #644
Diffstat (limited to 'user/qt5-qtwebkit/jsc-musl.patch')
-rw-r--r-- | user/qt5-qtwebkit/jsc-musl.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/user/qt5-qtwebkit/jsc-musl.patch b/user/qt5-qtwebkit/jsc-musl.patch new file mode 100644 index 000000000..0165f21dc --- /dev/null +++ b/user/qt5-qtwebkit/jsc-musl.patch @@ -0,0 +1,32 @@ +--- a/Source/JavaScriptCore/runtime/Options.h 2020-04-14 00:51:51.000000000 +0200 ++++ b/Source/JavaScriptCore/runtime/Options.h 2020-04-14 00:51:51.000000000 +0200 +@@ -40,6 +40,16 @@ + + namespace JSC { + ++#if defined(__GLIBC__) ++constexpr unsigned jscMaxPerThreadStack = 4 * MB; ++constexpr unsigned jscSoftReservedZoneSize = 128 * KB; ++constexpr unsigned jscReservedZoneSize = 64 * KB; ++#else ++constexpr unsigned jscMaxPerThreadStack = 80 * KB; ++constexpr unsigned jscSoftReservedZoneSize = 32 * KB; ++constexpr unsigned jscReservedZoneSize = 16 * KB; ++#endif ++ + // How do JSC VM options work? + // =========================== + // The JSC_OPTIONS() macro below defines a list of all JSC options in use, +@@ -112,9 +122,9 @@ + \ + v(bool, reportMustSucceedExecutableAllocations, false, nullptr) \ + \ +- v(unsigned, maxPerThreadStackUsage, 4 * MB, nullptr) \ +- v(unsigned, reservedZoneSize, 128 * KB, nullptr) \ +- v(unsigned, errorModeReservedZoneSize, 64 * KB, nullptr) \ ++ v(unsigned, maxPerThreadStackUsage, jscMaxPerThreadStack, nullptr) \ ++ v(unsigned, reservedZoneSize, jscSoftReservedZoneSize, nullptr) \ ++ v(unsigned, errorModeReservedZoneSize, jscReservedZoneSize, nullptr) \ + \ + v(bool, crashIfCantAllocateJITMemory, false, nullptr) \ + v(unsigned, jitMemoryReservationSize, 0, "Set this number to change the executable allocation size in ExecutableAllocatorFixedVMPool. (In bytes.)") \ |