KISS (Krikey It's the Semicolon Silly)

Scott

> -----Original Message-----
> From: Dave Smith [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, January 09, 2002 12:43 PM
> To: marc fleury
> Cc: [EMAIL PROTECTED]
> Subject: Re: [JBoss-dev] Am I a clown?
> 
> 
> Putting on his big shoes ...
> 
> HashMap is not syncnronized, possible another thread is modifing the 
> HashMap?
> or
> You are modifing the set inside the loop?
> 
> 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!
> > 
> > marcf 
> > 
> ______________________________________________________________________
> > View this jboss-dev thread in the online forums: 
> > http://jboss.org/forums/thread.jsp?forum=66&thread=6868
> > 
> > _______________________________________________
> > Jboss-development mailing list 
> [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > 
> > 
> 
> 
> 
> _______________________________________________
> Jboss-development mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to