[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Netbeans 6.3 profiler and Jace: Now only uses 10% - 15% cpu!



BLuRry wrote:
>
> Removing all that synchronization overhead means that now Jace is using
> 10%
> cpu instead of 60%.  I have more testing to ensure that no concurrent
> exceptions occur -- but I've learned my lesson.  Concurrency and resource
> synchronization are EXPENSIVE!

That makes me wonder if the synchronization was implemented using busy
waiting until the lock could be acquired.