yep.. and I pride myself of being one of the best jave developers of my generation...
but uhhhh well never mind, I booboo like everyone else it seems, so much for self esteem marcf |-----Original Message----- |From: John Woo [mailto:[EMAIL PROTECTED]] |Sent: Wednesday, January 09, 2002 1:16 PM |To: marc fleury; Day, Jem BGI WAC |Cc: [EMAIL PROTECTED] |Subject: RE: [JBoss-dev] Am I a clown? | | |A semi-colon on the end of the while. | |--- marc fleury <[EMAIL PROTECTED]> wrote: |> yes; yes; that's; not; it; oh come on; don't you see |> it; |> |> I didn't for 2 hours so its ok you got 2 hours to |> see it |> |> ;) |> |> marcf |> |> |-----Original Message----- |> |From: Day, Jem BGI WAC |> [mailto:[EMAIL PROTECTED]] |> |Sent: Wednesday, January 09, 2002 1:09 PM |> |To: 'marc fleury' |> |Cc: [EMAIL PROTECTED] |> |Subject: RE: [JBoss-dev] Am I a clown? |> | |> | |> | |> |The obvious question is..... |> | |> | Are you doing an "it.next()" in the loop |> anywhere? ;-) |> | |> |-----Original Message----- |> |From: marc fleury [mailto:[EMAIL PROTECTED]] |> |Sent: Wednesday, January 09, 2002 3:56 PM |> |To: Dave Smith |> |Cc: [EMAIL PROTECTED] |> |Subject: RE: [JBoss-dev] Am I a clown? |> | |> | |> |nope that's not it... 2 hours I stared at it... |> | |> |come on come on, it is so obvious, |> | |> |damn semicolons... |> | |> |marcf |> | |> ||-----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 | | |__________________________________________________ |Do You Yahoo!? |Send FREE video emails in Yahoo! Mail! |http://promo.yahoo.com/videomail/ _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
