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 条
  • [1] Resource Demand Management in Java']Java Ecosystem
    Couto Silva, Thiciane Suely
    Rocha, Fabio Gomes
    dos Santos, Rodrigo Pereira
    PROCEEDINGS OF THE XV BRAZILIAN SYMPOSIUM ON INFORMATION SYSTEMS, SBSI 2019: Complexity on Modern Information Systems, 2019,
  • [2] A resource management interface for the Java']Java™ platform
    Czajkowski, G
    Hahn, S
    Skinner, G
    Soper, P
    Bryce, C
    SOFTWARE-PRACTICE & EXPERIENCE, 2005, 35 (02): : 123 - 157
  • [3] Transparent resource management with Java']Java RM API
    Janik, Arkadiusz
    Zielinski, Krzysztof
    COMPUTATIONAL SCIENCE - ICCS 2006, PT 4, PROCEEDINGS, 2006, 3994 : 1023 - 1030
  • [4] Automating syntactic debugging of Java']Java programs
    Fox, R
    Uti, NV
    7TH WORLD MULTICONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL V, PROCEEDINGS: COMPUTER SCIENCE AND ENGINEERING: I, 2003, : 105 - 110
  • [5] A resource management system for network computing using Java']Java
    Maheswaran, M
    Chen, H
    Pradhan, S
    Pantel, P
    Zheng, L
    Min, R
    Groner, T
    PROCEEDINGS OF THE FIFTH JOINT CONFERENCE ON INFORMATION SCIENCES, VOLS 1 AND 2, 2000, : 453 - 456
  • [6] Processes in KaffeOS: Isolation, resource management, and sharing in Java']Java
    Back, G
    Hsieh, WC
    Lepreau, J
    USENIX ASSOCIATION PROCEEDINGS OF THE FOURTH SYMPOSIUM ON OPERATING SYSTEMS DESIGN AND IMPLEMENTATION, 2000, : 333 - 346
  • [7] Extending standard Java']Java runtime systems for resource management
    Binder, W
    Hulaas, J
    SOFTWARE ENGINEERING AND MIDDLEWARE, 2005, 3437 : 154 - 169
  • [8] Embedded Java']Java VM moves even closer
    不详
    CONTROL AND INSTRUMENTATION, 1998, 30 (01): : 20 - 20
  • [9] Java']JavaBot: Automating coffee?
    Garcia, Paul
    CONTROL ENGINEERING, 2008, 55 (06) : FB12 - +
  • [10] NJR: A Normalized Java']Java Resource
    Palsberg, Jens
    Lopes, Cristina, V
    COMPANION PROCEEDINGS FOR THE ISSTA/ECOOP 2018 WORKSHOPS, 2018, : 100 - 106