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 条
  • [41] Implementing advanced spoken dialogue management in Java']Java
    O'Neill, I
    Hanna, P
    Liu, XK
    Greer, D
    McTear, M
    SCIENCE OF COMPUTER PROGRAMMING, 2005, 54 (01) : 99 - 124
  • [42] ResAna: a resource analysis toolset for (real-time) JAVA']JAVA
    Kersten, Rody W. J.
    van Gastel, Bernard E.
    Shkaravska, Olha
    Montenegro, Manuel
    van Eekelen, Marko C. J. D.
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2014, 26 (14): : 2432 - 2455
  • [43] Enhancing Java']Java ME Security Support with Resource Usage Monitoring
    Castrucci, Alessandro
    Martinelli, Fabio
    Mori, Paolo
    Roperti, Francesco
    INFORMATION AND COMMUNICATIONS SECURITY, PROCEEDINGS, 2008, 5308 : 256 - 266
  • [44] A Java']Java middleware platform for resource-aware distributed applications
    Guidec, F
    Mahéo, Y
    Valoria, LC
    SECOND INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, PROCEEDINGS, 2003, : 96 - 103
  • [45] OMS Java']Java - A persistent object management framework
    Kobler, A
    Norrie, MC
    JAVA AND DATABASES, 2000, : 317 - 331
  • [46] A reconfigurable memory management core for Java']Java applications
    Ejnioui, A
    Rhiati, A
    VLSI 2004: IEEE COMPUTER SOCIETY ANNUAL SYMPOSIUM ON VLSI, PROCEEDINGS, 2004, : 309 - 312
  • [47] Implementation of a distributed management system using java']java
    Carneiro, V
    Viña, A
    Guerrero, C
    GLOBECOM 98: IEEE GLOBECOM 1998 - CONFERENCE RECORD, VOLS 1-6: THE BRIDGE TO GLOBAL INTEGRATION, 1998, : 1574 - 1578
  • [48] Disaster management in Central Java']Java Province, Indonesia
    Wardani, S. P. R.
    Kodoatie, R. J.
    GEOTECHNICAL ENGINEERING FOR DISASTER MITIGATION AND REHABILITATION, 2008, : 254 - +
  • [49] Research on Library Management System Based on Java']Java
    Yu, Shasha
    Qiu, Enhai
    Zhou, Mei
    PROCEEDINGS OF THE 2017 7TH INTERNATIONAL CONFERENCE ON SOCIAL NETWORK, COMMUNICATION AND EDUCATION (SNCE 2017), 2017, 82 : 946 - 949
  • [50] Java']Java-based network management environment
    Park, JK
    Ban, NJ
    Kim, TG
    ICC 98 - 1998 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS VOLS 1-3, 1998, : 1124 - 1128