[Bug 61350] New: Use unsynchronized xmlbeans

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61350] New: Use unsynchronized xmlbeans

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61350] Use unsynchronized xmlbeans

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

Andreas Beeker <[hidden email]> changed:

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

--- Comment #1 from Andreas Beeker <[hidden email]> ---
applied via r1803120

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61350] Use unsynchronized xmlbeans

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61350

--- Comment #2 from Dominik Stadler <[hidden email]> ---
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: [hidden email]
For additional commands, e-mail: [hidden email]