diff options
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.patch | 17 |
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 @@ | |||
1 | From 5c82d20a00749e9106db78cdd23a09609dd3511c Mon Sep 17 00:00:00 2001 | 1 | From 04e4999c6fa2e9810634745a07f1e380f27b8e61 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 17 Mar 2021 13:24:57 -0700 | 3 | Date: Wed, 17 Mar 2021 13:24:57 -0700 |
4 | Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl | 4 | Subject: [PATCH] reduce thread stack and heap usage for javascriptcore on musl |
@@ -20,12 +20,12 @@ Upstream-Status: Accepted | |||
20 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 20 | Signed-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 | ||
27 | diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h | 27 | diff --git a/Source/JavaScriptCore/runtime/OptionsList.h b/Source/JavaScriptCore/runtime/OptionsList.h |
28 | index bc1cedb9..a6209742 100644 | 28 | index 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: | ||
72 | diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h | 63 | diff --git a/Source/WTF/wtf/Threading.h b/Source/WTF/wtf/Threading.h |
73 | index 9495d6c1..190b3811 100644 | 64 | index 9495d6c1..190b3811 100644 |
74 | --- a/Source/WTF/wtf/Threading.h | 65 | --- a/Source/WTF/wtf/Threading.h |