"jmesnil" wrote :
|
| That is not the case: the execution on the server-side is not done from the same
thread. It uses a Executors.newSingleThreadExecutor() to run the code on the server-side.
|
it should all run on the same thread - we don't want to introduce the overhead of
unnecessary context switches.
anonymous wrote :
| To be frank, the more I think about it and the more I think I should get rid of the
Executors.newSingleThreadExecutor() and not provide any timeout feature for the invm
optimization.
|
Agreed. No need for a timeout - just execute it on the same thread.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119710#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...