The CLOSER: Automating Resource Management in Java']Java

被引:0
|
作者
Dillig, Isil [1 ]
Dillig, Thomas [1 ]
Yahav, Eran [2 ]
Chandra, Satish [2 ]
机构
[1] Stanford Univ, Dept Comp Sci, Stanford, CA 94305 USA
[2] IBM TJ Watson Res Ctr, Cambridge, MA USA
关键词
Resource Management; Interest Reachability; Logical Liveness; Higher-level Resource; Resource Interest Graph;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
While automatic garbage collection has relieved programmers front manual memory management in Java-like languages, managing resources remains a considerable burden and a source of performance problems. In this paper, we present a novel technique for automatic resource management based on static approximation of resource lifetimes. Our source-to-source transformation tool, CLOSER, automatically transforms program code to guarantee that resources are properly disposed and handles arbitrary resource usage patterns. CLOSER generates code for directly disposing any resource whose lifetime can be statically determined; when this is not possible, CLOSER inserts conditional disposal code based on interest-reference counts that identify when the resource can be safely disposed. The programmer is only required to identify which types should be treated as resources, and what method to invoke to dispose each such resource. We have successfully applied CLOSER on it moderate-sized graphics application that requires complex reasoning for resource management.
引用
收藏
页码:1 / +
页数:2
相关论文
共 50 条
  • [21] Translation of Low-Resource COBOL to Logically Correct and Readable Java']Java leveraging High-Resource Java']Java Refinement
    Gandhi, Shubham
    Patwardhan, Manasi
    Khatri, Jyotsana
    Vig, Lovekesh
    Medicherla, Raveendra Kumar
    2024 INTERNATIONAL WORKSHOP ON LARGE LANGUAGE MODELS FOR CODE, LLM4CODE 2024, 2024, : 46 - 53
  • [22] A Java']Java Cluster Management service
    de Mello, RF
    Paiva, MSV
    Trevelin, LC
    IEEE INTERNATIONAL SYMPOSIUM ON NETWORK COMPUTING AND APPLICATIONS, PROCEEDINGS, 2001, : 238 - 241
  • [23] An OSGi compatible implementation of a Java']Java resource monitor
    Van Den Bossche, B
    Van Boxstael, K
    Goeminne, N
    Gielen, F
    Demeester, P
    Multimedia on Mobile Devices, 2005, 5684 : 181 - 189
  • [24] Translating Java']Java for Resource Constrained Embedded Systems
    Plumbridge, Gary
    Audsley, Neil
    2012 7TH INTERNATIONAL WORKSHOP ON RECONFIGURABLE AND COMMUNICATION-CENTRIC SYSTEMS-ON-CHIP (RECOSOC), 2012,
  • [25] Automating the Ada binding process for Java']Java - How far can we go?
    Emery, DE
    Mathis, RF
    Nyberg, KA
    RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE, 1998, 1411 : 29 - 40
  • [26] Symbolic and Analytic Techniques for Resource Analysis of Java']Java Bytecode
    Aspinall, David
    Atkey, Robert
    MacKenzie, Kenneth
    Sannella, Donald
    TRUSTWORTHY GLOBAL COMPUTING, 2010, 6084 : 1 - +
  • [27] Enhancing Java']Java grid computing security with resource control
    Hulaas, J
    Binder, W
    Serugendo, GDM
    GRID SERVICES ENGINEERING AND MANAGEMENT, PROCEEDINGS, 2004, 3270 : 30 - 47
  • [28] Resource Trade-Offs for Java']Java Applications in the Cloud
    Chow, Kingsum
    Maldikar, Pranita
    Ban, Khun
    2016 INTERNATIONAL COMPUTER SYMPOSIUM (ICS), 2016, : 543 - 548
  • [29] Towards resource-aware parallel Java']Java components
    Mahéo, Y
    Guidec, F
    Courtrai, L
    PDPTA '04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS 1-3, 2004, : 1006 - 1012
  • [30] Teaching database management systems with Java']Java
    Merzbacher, M
    SIGCSE 2000: PROCEEDINGS OF THE THIRTY-FIRST SIGCSE TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2000, 32 (01): : 31 - 35