DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35133>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35133





------- Additional Comments From [EMAIL PROTECTED]  2005-05-31 21:45 -------
Hi Filip,

Thanks for your contribution!

You are absolutely right about the Thread that isn't being killed in the
JMSSampler As I have focused mainly on the Graphical part until now, that
(annoying, I can imagine) bug escaped me.


Can you elaborate on the test that lead to a message leak?

If I look at the changes you made to the MessageAdmin, you made the following
changes
        table.put(id, new PlaceHolder(request));
to
        synchronized (table) {
            table.put(id, new PlaceHolder(request));
        }

        PlaceHolder holder = (PlaceHolder)table.get(id);
to
        PlaceHolder holder;
        synchronized (table) {
            holder = (PlaceHolder)table.get(id);
        }

As far as I can see, there is no difference in synchronization.... The table is
a hashtable which methods are synchronized so they can only be executed by the
owner of the lock on the hashtable-object. The same as in your solution. Am I
missing anything??


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to