Hi,
i'd like to know the time spent waiting by 2 threads wich are accessing a ConcurrentHashMap.
Is there an easy way to do this (some counter or trigger featured by the JVM) ?
If not, what can be the best way to get some approximation ?
Have you some good pointers for this specifiec problem (2 readers accessing some Map).
Thanks for any help
Krzysiek Zaporowski - 11 Mar 2008 12:46 GMT
> Hi,
> i'd like to know the time spent waiting by 2 threads wich are accessing a ConcurrentHashMap.
[quoted text clipped - 6 lines]
>
> Thanks for any help
read about java microbenchmarks - there are several helpful articles
by Brian Goetz.