|
From: <ls...@us...> - 2007-01-04 20:24:20
|
Revision: 2985
http://jnode.svn.sourceforge.net/jnode/?rev=2985&view=rev
Author: lsantha
Date: 2007-01-04 12:24:19 -0800 (Thu, 04 Jan 2007)
Log Message:
-----------
Reduced load-compile thread count from 4 to 2.
Modified Paths:
--------------
trunk/core/src/core/org/jnode/vm/LoadCompileService.java
Modified: trunk/core/src/core/org/jnode/vm/LoadCompileService.java
===================================================================
--- trunk/core/src/core/org/jnode/vm/LoadCompileService.java 2007-01-04 20:22:27 UTC (rev 2984)
+++ trunk/core/src/core/org/jnode/vm/LoadCompileService.java 2007-01-04 20:24:19 UTC (rev 2985)
@@ -40,6 +40,8 @@
private static boolean started = false;
+ private static final int threadCount = 2; //4
+
/**
* Default ctor
*
@@ -101,7 +103,7 @@
initService();
if (!started) {
started = true;
- for (int i = 0; i < 4; i++) {
+ for (int i = 0; i < threadCount; i++) {
LoadCompileThread thread = new LoadCompileThread(service,
"LoadCompile-" + i);
thread.start();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|