summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch17
1 files changed, 4 insertions, 13 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch b/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch
index e4b5818358..f71f8452fd 100644
--- a/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch
+++ b/meta/recipes-sato/webkit/webkitgtk/musl-lower-stack-usage.patch
@@ -1,4 +1,4 @@
1From 5c82d20a00749e9106db78cdd23a09609dd3511c Mon Sep 17 00:00:00 2001 1From 04e4999c6fa2e9810634745a07f1e380f27b8e61 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 17 Mar 2021 13:24:57 -0700 3Date: Wed, 17 Mar 2021 13:24:57 -0700
4Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl 4Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl
@@ -20,12 +20,12 @@ Upstream-Status: Accepted
20Signed-off-by: Khem Raj <raj.khem@gmail.com> 20Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 21
22--- 22---
23 Source/JavaScriptCore/runtime/OptionsList.h | 20 ++++++++++++++++---- 23 Source/JavaScriptCore/runtime/OptionsList.h | 18 +++++++++++++++---
24 Source/WTF/wtf/Threading.h | 4 ++++ 24 Source/WTF/wtf/Threading.h | 4 ++++
25 2 files changed, 20 insertions(+), 4 deletions(-) 25 2 files changed, 19 insertions(+), 3 deletions(-)
26 26
27diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h 27diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h
28index bc1cedb9..a6209742 100644 28index bb6d2f1d..a6209742 100644
29--- a/Source/JavaScriptCore/runtime/OptionsList.h 29--- a/Source/JavaScriptCore/runtime/OptionsList.h
30+++ b/Source/JavaScriptCore/runtime/OptionsList.h 30+++ b/Source/JavaScriptCore/runtime/OptionsList.h
31@@ -71,6 +71,18 @@ JS_EXPORT_PRIVATE bool canUseJITCage(); 31@@ -71,6 +71,18 @@ JS_EXPORT_PRIVATE bool canUseJITCage();
@@ -60,15 +60,6 @@ index bc1cedb9..a6209742 100644
60 \ 60 \
61 v(Bool, crashOnDisallowedVMEntry, ASSERT_ENABLED, Normal, "Forces a crash if we attempt to enter the VM when disallowed") \ 61 v(Bool, crashOnDisallowedVMEntry, ASSERT_ENABLED, Normal, "Forces a crash if we attempt to enter the VM when disallowed") \
62 v(Bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \ 62 v(Bool, crashIfCantAllocateJITMemory, false, Normal, nullptr) \
63@@ -608,7 +620,7 @@ public:
64 bool init(const char*);
65 bool isInRange(unsigned);
66 const char* rangeString() const { return (m_state > InitError) ? m_rangeString : s_nullRangeStr; }
67-
68+
69 void dump(PrintStream& out) const;
70
71 private:
72diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h 63diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h
73index 9495d6c1..190b3811 100644 64index 9495d6c1..190b3811 100644
74--- a/Source/WTF/wtf/Threading.h 65--- a/Source/WTF/wtf/Threading.h