JPure: A Modular Purity System for Java']Java

被引:0
|
作者
Pearce, David J. [1 ]
机构
[1] Victoria Univ Wellington, Sch Engn & Comp Sci, Wellington, New Zealand
来源
COMPILER CONSTRUCTION | 2011年 / 6601卷
关键词
SIDE-EFFECT ANALYSIS; PROGRAMS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Purity Analysis is the problem of determining whether or not a method may have side-effects. This has applications in automatic parallelisation, extended static checking, and more. We present a novel purity system for Java that employs purity annotations which can be checked modularly. This is done using a flow-sensitive, intraprocedural analysis. The system exploits two properties, called freshness and locality, to increase the range of methods that can be considered pure. JPure also includes an inference engine for annotating legacy code. We evaluate our system against several packages from the Java Standard Library. Our results indicate it is possible to uncover significant amounts of purity efficiently.
引用
收藏
页码:104 / 123
页数:20
相关论文
共 50 条
  • [41] An automated learning system for Java']Java programming
    Daly, C
    Horgan, JM
    IEEE TRANSACTIONS ON EDUCATION, 2004, 47 (01) : 10 - 17
  • [42] Pickling state in the Java']Java(TM) System
    Riggs, R
    Waldo, J
    Wollrath, A
    Bharat, K
    PROCEEDINGS OF THE SECOND USENIX CONFERENCE ON OBJECT-ORIENTED TECHNOLOGIES AND SYSTEMS (COOTS), 1996, : 241 - 250
  • [43] A Java']Java-based teleconsultation system
    Tang, LH
    Wang, DJ
    Wang, H
    Proceedings of the World Engineers' Convention 2004, Vol B, Biological Engineering and Health Care, 2004, : 273 - 278
  • [44] Evaluation of a Java']Java Computer Algebra System
    Kredel, Heinz
    COMPUTER MATHEMATICS, 2008, 5081 : 121 - 138
  • [45] Pickling state in the Java']Java(TM) system
    Riggs, R
    Waldo, J
    Wollrath, A
    Bharat, K
    COMPUTING SYSTEMS, 1996, 9 (04): : 291 - 312
  • [46] System for Executing Encrypted Java']Java Programs
    Kiperberg, Michael
    Resh, Amit
    Algawi, Asaf
    Zaidenberg, Nezer J.
    ICISSP: PROCEEDINGS OF THE 3RD INTERNATIONAL CONFERENCE ON INFORMATION SYSTEMS SECURITY AND PRIVACY, 2017, : 245 - 252
  • [47] Realization of the Java']Java platform on the microcomputer system
    Gong Rong-fen
    Chu Mao-xiang
    Wu Qing-Hong
    Proceedings of 2005 Chinese Control and Decision Conference, Vols 1 and 2, 2005, : 2191 - 2193
  • [48] JESS: Java']Java Extensible Snakes System
    McInerney, T
    Sharif, MRA
    Pashotanizadeh, N
    MEDICAL IMAGING 2005: IMAGE PROCESSING, PT 1-3, 2005, 5747 : 1985 - 1992
  • [49] Distributed Java']Java Mobile Information System
    Noor, Ahmad Shukri Mohd
    INNOVATION AND KNOWLEDGE MANAGEMENT IN TWIN TRACK ECONOMIES: CHALLENGES & SOLUTIONS, VOLS 1-3, 2009, : 1089 - 1094
  • [50] A type system for Java']Java bytecode subroutines
    Stata, R
    Abadi, M
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1999, 21 (01): : 90 - 137