Eyal wrote:
> isn't volatile will create overhead on the Session?
> Read this: http://www.javaperformancetuning.com/news/qotm030.shtml

Any overhead is essential, Eyal.  You *want* threads to flush their
memory caches, when accessing session variables.  Otherwise, variable
changes by one thread might be invisible to others.  (Alternatively,
you can sync.  But the overhead is probably higher.)

-- 
Michael Allan

http://zelea.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to