poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61350] Use unsynchronized xmlbeans
Date Thu, 24 Aug 2017 19:06:24 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61350

--- Comment #2 from Dominik Stadler <dominik.stadler@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


Mime
View raw message