Title: [200481] trunk/Source/_javascript_Core
- Revision
- 200481
- Author
- [email protected]
- Date
- 2016-05-05 14:58:23 -0700 (Thu, 05 May 2016)
Log Message
Reduce maximum JIT pool size on X86_64.
Rubber stamped by Geoffrey Garen.
This changes our maximum pool size to 100MB. The problem with letting a page allocate much
more than this is that we will sometimes call deleteAllCode() or one of its friends. Deleting
a huge amount of memory is expensive in our allocator.
So long as we allow for such large-scale code death to happen, and so long as it's expensive,
we should bound the amount of code we end up with in the first place.
In the long run, we should fix our executable allocator so that it's not so expensive to kill
all code.
* jit/ExecutableAllocator.h:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (200480 => 200481)
--- trunk/Source/_javascript_Core/ChangeLog 2016-05-05 21:53:27 UTC (rev 200480)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-05-05 21:58:23 UTC (rev 200481)
@@ -1,5 +1,23 @@
2016-05-05 Filip Pizlo <[email protected]>
+ Reduce maximum JIT pool size on X86_64.
+
+ Rubber stamped by Geoffrey Garen.
+
+ This changes our maximum pool size to 100MB. The problem with letting a page allocate much
+ more than this is that we will sometimes call deleteAllCode() or one of its friends. Deleting
+ a huge amount of memory is expensive in our allocator.
+
+ So long as we allow for such large-scale code death to happen, and so long as it's expensive,
+ we should bound the amount of code we end up with in the first place.
+
+ In the long run, we should fix our executable allocator so that it's not so expensive to kill
+ all code.
+
+ * jit/ExecutableAllocator.h:
+
+2016-05-05 Filip Pizlo <[email protected]>
+
Reduce thresholds that control the maximum IC stub size.
Rubber stamped by Chris Dumez and Benjamin Poulain.
Modified: trunk/Source/_javascript_Core/jit/ExecutableAllocator.h (200480 => 200481)
--- trunk/Source/_javascript_Core/jit/ExecutableAllocator.h 2016-05-05 21:53:27 UTC (rev 200480)
+++ trunk/Source/_javascript_Core/jit/ExecutableAllocator.h 2016-05-05 21:58:23 UTC (rev 200481)
@@ -79,7 +79,7 @@
#elif CPU(ARM64)
static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
#elif CPU(X86_64)
-static const size_t fixedExecutableMemoryPoolSize = 1024 * 1024 * 1024;
+static const size_t fixedExecutableMemoryPoolSize = 100 * 1024 * 1024;
#else
static const size_t fixedExecutableMemoryPoolSize = 32 * 1024 * 1024;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes