Source code revision

git

summary: Merge branch 'desagar_fix_SAAJ-73_part2' into 'master'
revision: 56d59a517babbf3113ab6996bfbe031e33f91a97
author: deva.sagar@...
date: 2014-08-15 14:51:07 UTC (2 years)
message: Merge branch 'desagar_fix_SAAJ-73_part2' into 'master'

EnvelopeFactory doesn't return parsers to pool in some cases

EnvelopeFactory has a try/catch/finally section for the actual parsing which returns parser to pool.

However if any exceptions occur during setup of SAX Parser, it doesn't return the parsers to the pool. If a few of these errors occur in a VM, the pool could be exhausted and cause build up of threads.

See comments in https://java.net/jira/browse/SAAJ-73 for more information.

I haven't done any performance testing yet because I haven't figured out how to make the SAX setup fail yet.
Change Path Actions
M saaj-ri/src/java/com/sun/xml/messaging/saaj/soap/EnvelopeFactory.java
Terms of Use; Privacy Policy; Copyright ©2013-2016 (revision 20160708.bf2ac18)
 
 
Close
loading
Please Confirm
Close