Summary: | Use unsynchronized xmlbeans | ||
---|---|---|---|
Product: | POI | Reporter: | Andreas Beeker <kiwiwings> |
Component: | OPC | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 3.17-dev | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
Andreas Beeker
2017-07-26 22:06:13 UTC
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(); |