|
ABSTRACT
It is an important criterion of program correctness that a program accesses resources in a valid manner. For example, a memory region that has been allocated should be eventually deallocated, and after the deallocation, the region should no longer be accessed. A file that has been opened should be eventually closed. So far, most of the methods to analyze this kind of property have been proposed in rather specific contexts (like studies of memory management and verification of usage of lock primitives), and it was not so clear what is the essence of those methods or how methods proposed for individual problems are related. To remedy this situation, we formalize a general problem of analyzing resource usage as a resource usage analysis problem, and propose a type-based method as a solution to the problem.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
 |
1
|
Alexander Aiken , Manuel Fähndrich , Raph Levien, Better static memory management: improving region-based analysis of higher-order languages, Proceedings of the ACM SIGPLAN 1995 conference on Programming language design and implementation, p.174-185, June 18-21, 1995, La Jolla, California, United States
|
| |
2
|
G.Bigliardi and C.Laneve.A type system for JVM threads.In Proc.of 3rd ACM SIGPLAN Workshop on Types in Compilation (TIC2000),2000.
|
 |
3
|
Lars Birkedal , Mads Tofte , Magnus Vejlstrup, From region inference to von Neumann machines via region representation inference, Proceedings of the 23rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages, p.171-183, January 21-24, 1996, St. Petersburg Beach, Florida, United States
[doi> 10.1145/237721.237771]
|
 |
4
|
|
 |
5
|
|
| |
6
|
|
| |
7
|
|
| |
8
|
|
 |
9
|
|
 |
10
|
|
| |
11
|
|
| |
12
|
|
| |
13
|
A.Igarashi and N.Kobayashi.Garbage collection based on a linear type system.In Proc.of 3rd ACM SIGPLAN Workshop on Types in Compilation (TIC2000),2000.
|
| |
14
|
|
 |
15
|
|
| |
16
|
|
| |
17
|
P.C.Kanellakis,H.G.Mairson,and J.C.Mitchell. Uni .cation and ML Type Reconstruction.In J.-L. Lassez and G.D.Plotkin,editors,Computational Logic:Essays in Honor of Alan Robinson, pages 444 -478.The MIT Press,1991.
|
 |
18
|
|
 |
19
|
|
| |
20
|
|
| |
21
|
|
 |
22
|
Greg Morrisett , Matthias Felleisen , Robert Harper, Abstract models of memory management, Proceedings of the seventh international conference on Functional programming languages and computer architecture, p.66-77, June 26-28, 1995, La Jolla, California, United States
[doi> 10.1145/224164.224182]
|
| |
23
|
|
| |
24
|
E.Sumii and N.Kobayashi.A generalized deadlock-free process calculus.In Proc.of Workshop on High-Level Concurrent Language (HLCL '98), ENTCS 16(3),pages 55 -77,1998.
|
 |
25
|
|
 |
26
|
David N. Turner , Philip Wadler , Christian Mossin, Once upon a type, Proceedings of the seventh international conference on Functional programming languages and computer architecture, p.1-11, June 26-28, 1995, La Jolla, California, United States
[doi> 10.1145/224164.224168]
|
| |
27
|
P.Wadler.Linear types can change the world. In Programming Concepts and Methods. North Holland, 1990.
|
 |
28
|
|
| |
29
|
D.Walker and K.Watkins.On linear types and regions.In Proc.of ICFP, 2001.
|
 |
30
|
|
|