Permalink
Browse files

Revert initial frames size to 10 to reduce thread-spinup cost.

  • Loading branch information...
1 parent a0e10b5 commit 5deb7c6e9432d2b1f70c819503a538f391dfab59 @headius headius committed Jun 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jruby/runtime/ThreadContext.java
@@ -64,7 +64,7 @@ public static ThreadContext newContext(Ruby runtime) {
}
private final static int INITIAL_SIZE = 10;
- private final static int INITIAL_FRAMES_SIZE = 1000;
+ private final static int INITIAL_FRAMES_SIZE = 10;
/** The number of calls after which to do a thread event poll */
private final static int CALL_POLL_COUNT = 0xFFF;

0 comments on commit 5deb7c6

Please sign in to comment.