By reading manual, I have an impression that this probe is fired when a thread enters a synchronized block, but in my simple example it did not.
<p>If this is not the right probe for it which one I have to use? <p>Thanks, Tigran. <p>P.S: my test app <pre> import java.util.concurrent.TimeUnit; import java.util.Vector; public class a { public static void main(String[] args) throws Exception { Vector v = new Vector(); final Object lock = new Object(); for(int i = 0; i < 100000; i++) { synchronized(lock) { v.add(i); } try { TimeUnit.SECONDS.sleep(2); System.out.print("."); } catch (InterruptedException ex) { ex.printStackTrace(); } } System.out.println("\n"); } } </pre> -- This message posted from opensolaris.org _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org