From: Quentin Rameau <quinq@fifth.space>
To: Void Linux <void...@googlegroups.com>
Subject: [PATCH 1/4] webkit2gtk: add stack-size patch
Date: Tue, 19 Jun 2018 17:41:18 +0200 [thread overview]
Message-ID: <20180619154121.40330-2-quinq@fifth.space> (raw)
In-Reply-To: <20180619154121.40330-1-quinq@fifth.space>
Taken from Gentoo musl overlay.
This is just plaster and a better fix would be to set stacksize
according to the JavaScriptCore needs on request.
---
srcpkgs/webkit2gtk/patches/fix-stacksize.patch | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/webkit2gtk/patches/fix-stacksize.patch
diff --git a/srcpkgs/webkit2gtk/patches/fix-stacksize.patch b/srcpkgs/webkit2gtk/patches/fix-stacksize.patch
new file mode 100644
index 0000000000..987d7f3c83
--- /dev/null
+++ b/srcpkgs/webkit2gtk/patches/fix-stacksize.patch
@@ -0,0 +1,15 @@
+--- Source/JavaScriptCore/runtime/Options.h.orig 2018-04-13 13:23:28.147699729 +0200
++++ Source/JavaScriptCore/runtime/Options.h 2018-04-13 13:24:24.256969737 +0200
+@@ -126,9 +126,9 @@ constexpr bool enableAsyncIteration = fa
+ \
+ v(bool, reportMustSucceedExecutableAllocations, false, Normal, nullptr) \
+ \
+- v(unsigned, maxPerThreadStackUsage, 4 * MB, Normal, "Max allowed stack usage by the VM") \
+- v(unsigned, softReservedZoneSize, 128 * KB, Normal, "A buffer greater than reservedZoneSize that reserves space for stringifying exceptions.") \
+- v(unsigned, reservedZoneSize, 64 * KB, Normal, "The amount of stack space we guarantee to our clients (and to interal VM code that does not call out to clients).") \
++ v(unsigned, maxPerThreadStackUsage, 80 * KB, Normal, "Max allowed stack usage by the VM") \
++ v(unsigned, softReservedZoneSize, 32 * KB, Normal, "A buffer greater than reservedZoneSize that reserves space for stringifying exceptions.") \
++ v(unsigned, reservedZoneSize, 16 * KB, Normal, "The amount of stack space we guarantee to our clients (and to interal VM code that does not call out to clients).") \
+ \
+ v(bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \
+ v(unsigned, jitMemoryReservationSize, 0, Normal, "Set this number to change the executable allocation size in ExecutableAllocatorFixedVMPool. (In bytes.)") \
--
2.17.1
next prev parent reply other threads:[~2018-06-19 15:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-19 15:41 webkit2gtk: updates + stacksize patch Quentin Rameau
2018-06-19 15:41 ` Quentin Rameau [this message]
2018-06-19 15:41 ` [PATCH 2/4] webkit2gtk: update to 2.20.1 Quentin Rameau
2018-06-19 15:41 ` [PATCH 3/4] webkit2gtk: update to 2.20.2 Quentin Rameau
2018-06-19 15:41 ` [PATCH 4/4] webkit2gtk: update to 2.20.3 Quentin Rameau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180619154121.40330-2-quinq@fifth.space \
--to=quinq@fifth.space \
--cc="void..."@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).