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 条
  • [1] JPURE -: A purified Java']Java execution environment for controller networks
    Beuche, D
    Büttner, L
    Mahrenholz, D
    Schröder-Preikschat, W
    Schön, F
    ARCHITECTURE AND DESIGN OF DISTRIBUTED EMBEDDED SYSTEMS, 2001, 61 : 65 - 73
  • [2] Modular system building with Java']Java(TM) packages
    Jordan, M
    VanDeVanter, ML
    8TH CONFERENCE ON SOFTWARE ENGINEERING ENVIRONMENTS - PROCEEDINGS, 1997, : 155 - 163
  • [3] Modular heterogeneous system development: A critical analysis of Java']Java
    Agha, GA
    Astley, M
    Sheikh, JA
    Varela, C
    SEVENTH HETEROGENEOUS COMPUTING WORKSHOP (HCW '98), 1998, : 144 - 155
  • [4] Verifiable Functional Purity in Java']Java
    Finifter, Matthew
    Mettler, Adrian
    Sastry, Naveen
    Wagner, David
    CCS'08: PROCEEDINGS OF THE 15TH ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2008, : 161 - 173
  • [5] Modular Java']Java Web Applications
    Kaegi, Simon Richard
    Deugo, Dwight
    APPLIED COMPUTING 2008, VOLS 1-3, 2008, : 688 - +
  • [6] Dynamic Purity Analysis for Java']Java Programs
    Xu, Haiying
    Pickett, Christopher J. F.
    Verbrugge, Clark
    PASTE'07 PROCEEDINGS OF THE 2007 ACM SIGPLAN- SIGSOFT WORKSHOP ON PROGRAM ANALYSIS FOR SOFTWARE TOOLS & ENGINEERING, 2007, : 75 - 82
  • [7] Mechanisms for secure modular programming in Java']Java
    Bauer, L
    Appel, AW
    Felten, EW
    SOFTWARE-PRACTICE & EXPERIENCE, 2003, 33 (05): : 461 - 480
  • [8] Expressive and Modular Predicate Dispatch for Java']Java
    Millstein, Todd
    Frost, Christopher
    Ryder, Jason
    Warth, Alessandro
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2009, 31 (02):
  • [9] Towards Purity-Guided Refactoring in Java']Java
    Yang, Jiachen
    Hotta, Keisuke
    Higo, Yoshiki
    Kusumoto, Shinji
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 521 - 525
  • [10] Purity and side effect analysis for Java']Java programs
    Salcianu, A
    Rinard, M
    VERFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, PROCEEDINGS, 2005, 3385 : 199 - 215