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/07/26 22:06:13 UTC

[Bug 61350] New: Use unsynchronized xmlbeans

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

            Bug ID: 61350
           Summary: Use unsynchronized xmlbeans
           Product: POI
           Version: 3.17-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: OPC
          Assignee: dev@poi.apache.org
          Reporter: kiwiwings@apache.org
  Target Milestone: ---

As suggested in SO [1] and discussed in the mailing list [2], I'll activate the
unsynchronized mode in the XmlBeans options.


[1] https://stackoverflow.com/questions/45082014/
[2]
http://apache-poi.1045710.n5.nabble.com/Unsynchronize-xmlbean-calls-td5728316.html

-- 
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


[Bug 61350] Use unsynchronized xmlbeans

Posted by bu...@apache.org.
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


[Bug 61350] Use unsynchronized xmlbeans

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61350

Andreas Beeker <ki...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
applied via r1803120

-- 
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