Have you thought about using JPDA? This concrete one shouldn't have last so much.
Sometimes itself is a pain in the ass, though :) > -----Mensaje original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]En nombre de marc > fleury > Enviado el: miercoles, 09 de enero de 2002 23:56 > Para: Dave Smith > CC: [EMAIL PROTECTED] > Asunto: 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
