marc fleury wrote:
> So I just spent 2 hours spotting the following interesting bug
>
> HashMap deployments ...
>
> Iterator it = deployments.keySet().iterator();
>
> while (it.hasNext());
> {
> do something();
> }
>
> which would peg my CPU at 100% and never reach do something ...
>
> man I am a clown... can you see it? 2 hours!
>
Hey, I've seen worse. I remember being called into a financial software
house in London who were panicking because they were having extremely
bad performance results from their super new CORBA trading system (or
whatever it was). They were freaking out and trying to blame everything
on the orb and so on. After a day's expensive consultancy, instrumenting
servers and so on, it all came down to one little line
boolean cacheDirty ...
if(cacheDirty = true) {
reload cache();
}
--
Luke Taylor. Monkey Machine Ltd.
PGP Key ID: 0x57E9523C http://www.mkeym.com
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development