Log Message: |
Since some OS/JVM combinations handle threads more efficiently than others, using a thread pool to run our async tasks may not
be the most optimal solution. Modified the TaskRunnerFactory so that it uses a system property to choose between the
PooledTaskRunner or the DedicatedTaskRunner which now keeps a dedicated thread per task.
The default is still set to use the PooledTaskRunner, but we may change this if performance benchmarks indicate that DedicatedTaskRunner should be the default.
Also make the thread names a little more uniform so that when you use a debugger you can easily tell what each thread is doing.
|