ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25734] - XmlLogger doesn't log when parallel is used.
Date Mon, 15 Oct 2007 14:23:22 GMT
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=25734>.
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=25734





------- Additional Comments From stevel@apache.org  2007-10-15 07:23 -------
Jeffrey, I can assure you distributed logging is worse, where you can't reliably
serialize an exception as the thing at the far end may not have all the needed
classes. 

Let's assume there's a race condition here, with two options

- out of order execution => bad XML. If two threads A, B entered some tasks in
that order, and exited in the order B, A...the closing braces would be written
out of order. 

- lossy manipulation of the results. Non-atomic updates to the graph could lose
bits added by other threads.

It sounds like the second of these is at work. 



-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message