• DocumentCode
    2703641
  • Title

    Demonstrating the effectiveness of exclusion control for components

  • Author

    Potter, John ; Shanneb, Abdelsalam ; Yu, Eric

  • Author_Institution
    Sch. of Comput. Sci. & Eng., New South Wales Univ., Sydney, NSW, Australia
  • fYear
    2005
  • fDate
    29 March-1 April 2005
  • Firstpage
    344
  • Lastpage
    353
  • Abstract
    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.
  • Keywords
    Java; formal specification; object-oriented programming; program compilers; synchronisation; Java; automatic code generation; code synchronization; object interface; program compiler; programming; synchronization wrapper; Application software; Australia; Automatic control; Automatic generation control; Automatic programming; Computer science; Concurrent computing; Java; Programming profession; Reflection;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference, 2005. Proceedings. 2005 Australian
  • ISSN
    1530-0803
  • Print_ISBN
    0-7695-2257-2
  • Type

    conf

  • DOI
    10.1109/ASWEC.2005.20
  • Filename
    1402029