[Jython-checkins] jython: Bump ctypes jit compilation threshold to 100

wayne.meissner jython-checkins at python.org
Sun Sep 4 03:55:26 CEST 2011


http://hg.python.org/jython/rev/6792a9cea71d
changeset:   6243:6792a9cea71d
user:        Wayne Meissner <wmeissner at gmail.com>
date:        Sun Sep 04 11:25:51 2011 +1000
summary:
  Bump ctypes jit compilation threshold to 100

files:
  src/org/python/modules/jffi/JITHandle.java |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/org/python/modules/jffi/JITHandle.java b/src/org/python/modules/jffi/JITHandle.java
--- a/src/org/python/modules/jffi/JITHandle.java
+++ b/src/org/python/modules/jffi/JITHandle.java
@@ -12,7 +12,7 @@
  */
 final class JITHandle {
 
-    private static final int THRESHOLD = Integer.getInteger("jython.ctypes.compile.threshold", 10);
+    private static final int THRESHOLD = Integer.getInteger("jython.ctypes.compile.threshold", 100);
     private final JITSignature jitSignature;
     private volatile boolean compilationFailed = false;
     private final AtomicInteger counter = new AtomicInteger(0);

-- 
Repository URL: http://hg.python.org/jython


More information about the Jython-checkins mailing list