[infinispan-dev] ClockService
Bela Ban
bban at redhat.com
Tue Jan 29 12:17:16 EST 2013
On 1/29/13 5:25 PM, Sanne Grinovero wrote:
> Glad you started work on that :)
>
> Any currentTimeMillis() even today will blow away your cache line and
> probably trigger a context switch.
I understand the context switch (in general, it's not recommended anyway
to invoke a system call in synchronized code), but I fail to see why
this would blow the cache line. Are you referring to the cached Date
value here ?
--
Bela Ban, JGroups lead (http://www.jgroups.org)
More information about the infinispan-dev
mailing list