A CSP model for Java']Java multithreading

被引:0
|
作者
Welch, PH [1 ]
Martin, JMR [1 ]
机构
[1] Univ Kent, Comp Lab, Canterbury CT2 7NF, Kent, England
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Java threads are synchronised through primitives based upon monitor concepts developed in the early 1970s. The semantics of Java's primitives have only been presented in natural language - this paper remedies this with a simple and formal CSP model. In view of the difficulties encountered in reasoning about any non-trivial interactions between Java threads, being able to perform that reasoning in a formal context (where careless errors can be highlighted by mechanical checks) should be a considerable confidence boost. Further automated model-checking tools can be used to root out dangerous states (such as deadlock and livelock), find overlooked race hazards and prove equivalence between algorithms (e.g. between optimised and un-optimised versions). A case study using the CSP model to prove the correctness of the JCSP channel implementation (which is built in terms of standard Java monitor synchronisations) is presented.
引用
收藏
页码:114 / 122
页数:9
相关论文
共 50 条
  • [1] CSP for Java']Java: Multithreading for all
    Welch, PH
    Hilderink, GH
    Bakkers, AP
    Stiles, GS
    [J]. ARCHITECTURES, LANGUAGES AND TECHNIQUES FOR CONCURRENT SYSTEMS, 1999, 57 : 277 - 278
  • [2] ACP model of Java']Java multithreading
    Liu, Y
    Xu, BW
    [J]. PROCEEDINGS OF THE 2003 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION, 2003, : 513 - 518
  • [3] A dualthreaded Java']Java processor for Java']Java multithreading
    Chung, CM
    Kim, SD
    [J]. 1998 INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1998, : 693 - 700
  • [4] Temporal Multithreading Architecture Design for a Java']Java Processor
    Su, Hung-Cheng
    Wu, Tsung-Han
    Tsai, Chun-Jen
    [J]. 2014 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2014, : 2201 - 2204
  • [5] Multithreading in Java']Java: Performance and Scalability on Multicore Systems
    Chen, Kuo-Yi
    Chang, J. Morris
    Hou, Ting-Wei
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2011, 60 (11) : 1521 - 1534
  • [6] Weak Fairness Semantic Drawbacks in Java']Java Multithreading
    Kaiser, Claude
    Pradat-Peyre, Jean-Francois
    [J]. RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2009, 2009, 5570 : 90 - +
  • [7] Verification for Java']Java's reentrant multithreading concept
    Abrahám-Mumm, E
    de Boer, FS
    de Roever, WP
    Steffen, M
    [J]. FOUNDATIONS OF SOFTWARE SCIENCE AND COMPUTATION STRUCTURES, PROCEEDINGS, 2002, 2303 : 5 - 20
  • [8] Deterministic multithreading for Java']Java-based replicated objects
    Domaschka, Joerg
    Hauck, Franz J.
    Reiser, Hans P.
    Kapitza, Ruediger
    [J]. PROCEEDINGS OF THE 18TH IASTED INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING AND SYSTEMS, 2006, : 516 - +
  • [9] Java']Java threads in the light of occam/CSP
    Welch, P
    [J]. PARALLEL PROGRAMMING AND JAVA, 1997, 50 : 282 - 282
  • [10] JMA: The Java']Java-multithreading architecture for embedded processors
    Watcharawitch, P
    Moore, S
    [J]. ICCD'2002: IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN: VLSI IN COMPUTERS AND PROCESSORS, PROCEEDINGS, 2002, : 527 - 529