loading...
Demonstrating the Effectiveness of Exclusion Control for Components
Brisbane, Australia March 29-April 01
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/ASWEC.2005.202005 Australian Software Engineering ...
 This Article 
 
PDF
HTML
 
 Share 
   
 Bibliographic References 
   
 Add to: 
 
Digg
Furl
Spurl
Blink
Simpy
Google
Del.icio.us
Y!MyWeb
 
 Search 
   
John Potter, University of New South Wales
Abdelsalam Shanneb, University of New South Wales
Eric Yu, University of New South Wales
We present experimental results on how the granularity of locking provided by synchronization wrappers affects performance. The wrappers implement method-level synchronization whose exclusion behavior is specified using a declarative approach. Our experimental results with both Java and C# suggest that fine-grained exclusion control is worthwhile implementing, at least for heavily loaded objects, and that there appears to be no performance penalty in doing so. To overcome resistance to programming more complex and fragile synchronization code, we propose generating the code automatically, based on the exclusion specification. Essentially this only entails describing the read-write conflicts between method pairs in an object?s interface. The automatic code generation can either be done dynamically using existing reflection mechanisms, or statically by a compiler. In the latter case we envisage minor language extensions to allow programmers to specify both the exclusion requirements for a given object, and the exclusion control to be provided by a given object when it is constructed.
Citation:
John Potter, Abdelsalam Shanneb, Eric Yu, "Demonstrating the Effectiveness of Exclusion Control for Components," aswec, pp.344-353, 2005 Australian Software Engineering Conference (ASWEC'05), 2005
Usage of this product signifies your acceptance of the Terms of Use.