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 条
  • [31] Memory and resource leak defects and their repairs in Java']Java projects
    Ghanavati, Mohammadreza
    Costa, Diego
    Seboek, Janos
    Lo, David
    Andrzejak, Artur
    EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (01) : 678 - 718
  • [32] Dynamic code management on a Java']Java multicomputer
    Sage, PP
    Milligan, P
    Bouridane, A
    NINTH EUROMICRO WORKSHOP ON PARALLEL AND DISTRIBUTED PROCESSING, PROCEEDINGS, 2001, : 97 - 101
  • [33] A service management facility for the Java']Java™ platform
    Skinner, G
    Czajkowski, G
    Hearnden, D
    Jordan, M
    Wegiel, M
    2005 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING, VOL 1, PROCEEDINGS, 2005, : 198 - 207
  • [34] Congestion management using Java']Java technologies
    Yuen, YSC
    Lo, KL
    POWERCON 2002: INTERNATIONAL CONFERENCE ON POWER SYSTEM TECHNOLOGY, VOLS 1-4, PROCEEDINGS, 2002, : 1322 - 1326
  • [35] Realization of a TMN Java']Java management API
    Dassow, H
    Hubert, C
    Frohnhoff, B
    Aschemann, G
    NOMS '98 - 1998 IEEE NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM, VOLS 1-3, 1998, : 412 - 421
  • [36] Java']Java mobile agent and project management
    Xue, F
    Li, KYR
    ISSUES AND TRENDS OF INFORMATION TECHNOLOGY MANAGEMENT IN CONTEMPORARY ORGANIZATIONS, VOLS 1 AND 2, 2002, : 440 - 442
  • [37] Advanced resource management and scheduling of workflow applications in Java']JavaSymphony
    Jugravu, A
    Fahringer, T
    HIGH PERFORMANCE COMPUTING - HIPC 2005, PROCEEDINGS, 2005, 3769 : 235 - 246
  • [38] Java']Java, Java']Java, Java']Java and more
    Makulowich, JS
    DATABASE, 1997, 20 (01): : 74 - 75
  • [39] Enhancing Java']Java ME Security Support with Resource Usage Monitoring
    Martinelli, Fabio
    Massacci, Fabio
    Mori, Paolo
    Schaefer, Christian
    Walter, Thomas
    ERCIM NEWS, 2008, (75): : 47 - 48
  • [40] Making Resource Analysis Practical for Real-Time Java']Java
    Kersten, Rody
    Shkaravska, Olha
    van Gastel, Bernard
    Montenegro, Manuel
    van Eekelen, Marko
    PROCEEDINGS OF THE 10TH INTERNATIONAL WORKSHOP ON JAVA TECHNOLOGIES FOR REAL-TIME AND EMBEDDED SYSTEMS, 2012, : 135 - 144