On 29 Jan 2013, at 18:27, Mircea Markus <mmarkus@redhat.com> wrote:

I guess Bela's question was about why System. currentTimeMillis() would trigger a context switch, I'm also curious about that one :-) 

On its own it doesn't. But if we have a cached clock with a scheduled thread updating that cached value periodically, that happens in an async thread.

--
Manik Surtani

Platform Architect, JBoss Data Grid