|
|
0d783c |
diff -up mozilla-esr31/js/src/assembler/wtf/Platform.h.ppc64le mozilla-esr31/js/src/assembler/wtf/Platform.h
|
|
|
0d783c |
--- mozilla-esr31/js/src/assembler/wtf/Platform.h.ppc64le 2014-11-25 12:23:26.000000000 +0100
|
|
|
0d783c |
+++ mozilla-esr31/js/src/assembler/wtf/Platform.h 2014-12-19 16:51:25.579571933 +0100
|
|
|
0d783c |
@@ -179,6 +179,8 @@
|
|
|
0d783c |
#define WTF_CPU_PPC64 1
|
|
|
0d783c |
#if !defined(__LITTLE_ENDIAN__)
|
|
|
0d783c |
#define WTF_CPU_BIG_ENDIAN 1
|
|
|
0d783c |
+#else
|
|
|
0d783c |
+#define WTF_CPU_PPC64LE 1
|
|
|
0d783c |
#endif
|
|
|
0d783c |
#endif
|
|
|
0d783c |
|
|
|
0d783c |
diff -up mozilla-esr31/js/src/gc/Memory.cpp.ppc64le mozilla-esr31/js/src/gc/Memory.cpp
|
|
|
0d783c |
--- mozilla-esr31/js/src/gc/Memory.cpp.ppc64le 2014-11-25 12:23:26.000000000 +0100
|
|
|
0d783c |
+++ mozilla-esr31/js/src/gc/Memory.cpp 2014-12-19 16:51:25.579571933 +0100
|
|
|
0d783c |
@@ -303,6 +303,9 @@ gc::MarkPagesUnused(JSRuntime *rt, void
|
|
|
0d783c |
bool
|
|
|
0d783c |
gc::MarkPagesInUse(JSRuntime *rt, void *p, size_t size)
|
|
|
0d783c |
{
|
|
|
0d783c |
+ if (!DecommitEnabled(rt))
|
|
|
0d783c |
+ return false;
|
|
|
0d783c |
+
|
|
|
0d783c |
JS_ASSERT(uintptr_t(p) % rt->gcSystemPageSize == 0);
|
|
|
0d783c |
return true;
|
|
|
0d783c |
}
|
|
|
0d783c |
diff -up mozilla-esr31/js/src/yarr/BumpPointerAllocator.h.ppc64le mozilla-esr31/js/src/yarr/BumpPointerAllocator.h
|
|
|
0d783c |
--- mozilla-esr31/js/src/yarr/BumpPointerAllocator.h.ppc64le 2014-11-25 12:23:30.000000000 +0100
|
|
|
0d783c |
+++ mozilla-esr31/js/src/yarr/BumpPointerAllocator.h 2014-12-19 16:51:25.579571933 +0100
|
|
|
0d783c |
@@ -38,6 +38,8 @@ namespace WTF {
|
|
|
0d783c |
#define MINIMUM_BUMP_POOL_SIZE 0x2000
|
|
|
0d783c |
#elif WTF_CPU_IA64
|
|
|
0d783c |
#define MINIMUM_BUMP_POOL_SIZE 0x4000
|
|
|
0d783c |
+#elif WTF_CPU_PPC64LE
|
|
|
0d783c |
+#define MINIMUM_BUMP_POOL_SIZE 0x10000
|
|
|
0d783c |
#else
|
|
|
0d783c |
#define MINIMUM_BUMP_POOL_SIZE 0x1000
|
|
|
0d783c |
#endif
|
|
|
0d783c |
diff -up mozilla-esr31/memory/mozjemalloc/jemalloc.c.ppc64le mozilla-esr31/memory/mozjemalloc/jemalloc.c
|
|
|
0d783c |
--- mozilla-esr31/memory/mozjemalloc/jemalloc.c.ppc64le 2014-12-19 16:51:25.580571935 +0100
|
|
|
0d783c |
+++ mozilla-esr31/memory/mozjemalloc/jemalloc.c 2014-12-19 16:52:11.754626429 +0100
|
|
|
0d783c |
@@ -596,7 +596,7 @@ static const bool isthreaded = true;
|
|
|
0d783c |
#define RUN_MAX_OVRHD_RELAX 0x00001800U
|
|
|
0d783c |
|
|
|
0d783c |
/* Put a cap on small object run size. This overrides RUN_MAX_OVRHD. */
|
|
|
0d783c |
-#define RUN_MAX_SMALL_2POW 15
|
|
|
0d783c |
+#define RUN_MAX_SMALL_2POW 16
|
|
|
0d783c |
#define RUN_MAX_SMALL (1U << RUN_MAX_SMALL_2POW)
|
|
|
0d783c |
|
|
|
0d783c |
/*
|