Mercurial > hg > truffle
changeset 19473:b6d9486fcccb
Truffle: minor fix for multi-threaded compilation
author | Andreas Woess <andreas.woess@oracle.com> |
---|---|
date | Wed, 18 Feb 2015 12:12:28 +0100 |
parents | 2c6addc91175 |
children | a95544db6f9c |
files | graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java Wed Feb 18 12:09:03 2015 +0100 +++ b/graal/com.oracle.graal.truffle.hotspot/src/com/oracle/graal/truffle/hotspot/HotSpotTruffleRuntime.java Wed Feb 18 12:12:28 2015 +0100 @@ -109,7 +109,7 @@ } } selectedProcessors = Math.max(1, selectedProcessors); - compileQueue = new ThreadPoolExecutor(2, 2, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>(), factory); + compileQueue = new ThreadPoolExecutor(selectedProcessors, selectedProcessors, 0L, TimeUnit.MILLISECONDS, new LinkedBlockingQueue<Runnable>(), factory); }