[openjfx] 02/11: Simplified the patch disabling the sampling profiler
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Oct 4 14:25:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository openjfx.
commit cb3a4c00a83f0d95d23a1645fee7791adc4822b3
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Oct 3 10:10:45 2017 +0200
Simplified the patch disabling the sampling profiler
---
debian/patches/19-disable-webkit-sampling-profiler.patch | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/debian/patches/19-disable-webkit-sampling-profiler.patch b/debian/patches/19-disable-webkit-sampling-profiler.patch
index 44b78aa..085ab49 100644
--- a/debian/patches/19-disable-webkit-sampling-profiler.patch
+++ b/debian/patches/19-disable-webkit-sampling-profiler.patch
@@ -3,12 +3,12 @@ Author: Emmanuel Bourg <ebourg at apache.org>
Forwarded: not-needed
--- a/modules/web/src/main/native/Source/WTF/wtf/Platform.h
+++ b/modules/web/src/main/native/Source/WTF/wtf/Platform.h
-@@ -847,6 +847,8 @@
- #endif
- #endif
-
+@@ -841,7 +841,7 @@
+ * sampling profiler is enabled if WebKit uses pthreads and glibc. */
+ #if !defined(ENABLE_SAMPLING_PROFILER)
+ #if (OS(DARWIN) || OS(WINDOWS) || PLATFORM(GTK) || PLATFORM(EFL)) && ENABLE(JIT)
+-#define ENABLE_SAMPLING_PROFILER 1
+#define ENABLE_SAMPLING_PROFILER 0
-+
- /* Counts uses of write barriers using sampling counters. Be sure to also
- set ENABLE_SAMPLING_COUNTERS to 1. */
- #if !defined(ENABLE_WRITE_BARRIER_PROFILING)
+ #else
+ #define ENABLE_SAMPLING_PROFILER 0
+ #endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/openjfx.git
More information about the pkg-java-commits
mailing list