[concurrency-interest] Re: When do you use wait/notify?

Larry Riedel larryr@saturn.sdsu.edu
26 Jan 2004 16:04:48 -0000


> [...] I've tuned these applications over the years by using SIGQUIT on
> unix to force a thread dump.  I then look at what synchronization is
> most visible.  I go back and revisit those areas of the code and try to
> establish whether the synchronization is necessary, or if the amount of
> work in the synchronized section can be minimized.
> 
> This is an indispensible feature that I understand will be programatically
> accessible in 1.5.

Seeing which threads have which locks?  I imagine the JPDA/JDI/JVMDI
will continue to have the capability to do the equivalent.  And maybe
the profiling thing, JSR-163?


Larry