Bug 42552 - Thread safety + unbuffered writes
Summary: Thread safety + unbuffered writes
Status: NEEDINFO
Alias: None
Product: BCEL - Now in Jira
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.2
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: issues@commons.apache.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-30 17:55 UTC by Ken McNeil
Modified: 2010-01-10 13:06 UTC (History)
0 users



Attachments
Patch (32.46 KB, patch)
2007-05-30 17:56 UTC, Ken McNeil
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ken McNeil 2007-05-30 17:55:58 UTC
Here's a patch for 5.2 to fix all apparent remaining thread safety issues in BCEL plus a case where 
unbuffered writes were being done. The thread safety changes use thread locals in the spirit of an earlier 
partial patch. These changes have been used to eliminate the need to synchronize around BCEL while 
testing real-world applications using Xalan XSLTC on our platform.

Ken McNeil
Software Engineer
Azul Systems, Inc.
Comment 1 Ken McNeil 2007-05-30 17:56:53 UTC
Created attachment 20294 [details]
Patch
Comment 2 Torsten Curdt 2007-06-03 15:34:34 UTC
Unfortunately the patch does not apply successfully on BCEL trunk.
Comment 3 Torsten Curdt 2010-01-10 13:06:07 UTC
Just got back to this patch. BCEL is never meant to be theadsafe. What am I missing?