• DocumentCode
    3203358
  • Title

    Synchronizing Java threads using assertions

  • Author

    Katrib, Miguel ; Fernández, Damitán ; Pimentel, Ernesto

  • Author_Institution
    Dept. de Ciencia de la Computacion, Havana Univ., Cuba
  • fYear
    1999
  • fDate
    1999
  • Firstpage
    51
  • Lastpage
    60
  • Abstract
    The existence of mechanisms to describe and evaluate assertions in programming languages helps to reduce the conceptual gap existing between the specification and implementation phases in the software development, improving both tasks. Java, originally used as an Internet-oriented implementation language, is becoming a general-purpose language, which unfortunately does not provide this kind of mechanism. We present a proposal to include assertions into Java, which also allows including the use of quantified variables in the assertions. The paper analyzes the properties that such integration must satisfy in order to guarantee a seamless interaction with the rest of the language constructions. The proposal shows how assertions can be used to synchronize Java threads introducing the notion of synchronization object and extending the semantics of preconditions. The goal is to increase the object oriented expressiveness of the language to describe concurrency
  • Keywords
    Java; multi-threading; object-oriented programming; programming language semantics; synchronisation; Internet-oriented implementation language; Java thread synchronization; assertions; concurrency; general-purpose language; implementation phases; language constructions; object oriented expressiveness; preconditions; programming languages; quantified variables; seamless interaction; software development; synchronization object; Computer languages; Concurrent computing; Internet; Java; Logic design; Logic programming; Object oriented modeling; Proposals; Software design; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Technology of Object-Oriented Languages and Systems, 1999. TOOLS 31. Proceedings
  • Conference_Location
    Nanjing
  • Print_ISBN
    0-7695-0393-4
  • Type

    conf

  • DOI
    10.1109/TOOLS.1999.796466
  • Filename
    796466