To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=85139 Issue #|85139 Summary|reimplement caching of ContentImplHelper Component|ucb Version|OOo 2.3.1 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|tkr Reported by|jl
------- Additional comments from [EMAIL PROTECTED] Thu Jan 10 14:31:01 +0000 2008 ------- In the constructor of ContentImplHelper (ucb/source/provider/contenthelper.cxx) the object will be added to a hash map in the ContentProviderImplHelper. In the destructor the object will be removed from the has map.When ContentProvider::queryContent is called (ucb/source/ucp/webdav/webdavproder.cxx) then first one tries to return an existing content (com::sun::star::ucb::XContent) for a given URL. If there is not one then a new object is created. The caching mechanism does not work with multi threading. While one thread receives a cached content, the thread that created it may shortly after destroy it. Then the first thread works with a destructed content object. ContemtImplHelper must be "ref-counted", so it can be safely used by multiple threads. Currently the caching in disabled in the constructor. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]