You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2017/08/24 19:06:24 UTC

[Bug 61350] Use unsynchronized xmlbeans

https://bz.apache.org/bugzilla/show_bug.cgi?id=61350

--- Comment #2 from Dominik Stadler <do...@gmx.at> ---
Regression tests showed that this causes multi-threading issues when handling
different files in separate threads, therefore we cannot apply this generally. 

Thus this will be reverted for now.

Anybody who wants to use this performance tuning in a single-threaded
application can do so by adding the following call before invoking any POI
related code:

    org.apache.poi.POIXMLTypeLoader.DEFAULT_XML_OPTIONS.setUnsynchronized();

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org