Oskar Sandberg wrote: >"PThread-71" prio=1 tid=0x0x8292a48 nid=0x1a04 runnable >[4f843000..4f84386c] > at freenet.crypt.SHA1.update(SHA1.java:260) > - waiting to lock <0x44a53d30> (a freenet.crypt.SHA1) > ...
> > at freenet.crypt.CryptoKey.fingerprint(CryptoKey.java:71) > - locked <0x44a53d30> (a freenet.crypt.SHA1) > >This has to be a JVM bug, doesn't it? > Why ? The thread is not blocked, but is running. I guess "waiting to lock" just means that the thread is in the synchronisation code. But I find it kind of strange that the update method is synchronized at all, because it is called for each byte and synchronization isn't that fast. This probably should (and perhaps is already) done on a higher level. Niklas _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
