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 条
  • [21] A parallel computing framework and a modular collaborative CFD workbench in Java']Java
    Sengupta, S.
    Sinhamahapatra, K. P.
    ADVANCES IN FLUID MECHANICS VI, 2006, 52 : 21 - +
  • [22] Detecting Function Purity in Java']JavaScript
    Nicolay, Jens
    Noguera, Carlos
    De Roover, Coen
    De Meuter, Wolfgang
    2015 IEEE 15TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2015, : 101 - 110
  • [23] A modular approach to real time programming using actors and Java']Java
    Nigro, L
    Pupo, F
    REAL TIME PROGRAMMING 1997: (WRTP 97), 1998, : 65 - 70
  • [24] An Efficient Memory System for Java']Java
    Li, Richard C. L.
    Fong, Anthony S. S.
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2007, 7 (06): : 146 - 154
  • [25] The KaffeOS Java']Java runtime system
    Back, G
    Hsieh, WC
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2005, 27 (04): : 583 - 630
  • [26] Programming system architectures with Java']Java
    Levia, O
    COMPUTER, 1999, 32 (08) : 96 - +
  • [27] Is the Java']Java type system sound?
    Drossopoulou, S
    Eisenbach, S
    Khurshid, S
    THEORY AND PRACTICE OF OBJECT SYSTEMS, 1999, 5 (01): : 3 - 24
  • [28] An exception monitoring system for Java']Java
    Ohe, H
    Chang, BM
    RAPID INTEGRATION OF SOFTWARE ENGINEERING TECHNIQUES, 2005, 3475 : 71 - 81
  • [29] Java']Java mobile agent system
    Atik, A
    Gümüskaya, H
    Genç, MÖ
    Kazanci, S
    ADVANCES IN COMPUTER AND INFORMATION SCIENCES '98, 1998, 53 : 490 - 497
  • [30] A Formal Type System for Java']Java
    Debbabi, Mourad
    Fourati, Myriam
    JOURNAL OF OBJECT TECHNOLOGY, 2007, 6 (08): : 117 - 184