Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Garbage collection for strongly-typed languages using run-time type reconstruction
Aditya S., Flood C., Hicks J. ACM SIGPLAN Lisp PointersVII (3):12-23,1994.Type:Article
Date Reviewed: Sep 1 1995

In the general framework of automatic garbage collection, this paper considers the specific case of strongly typed languages. The problem is much more complex when no typing information is stored in objects themselves at runtime. Omitting this information saves the cost of storing and maintaining it for all objects, but it makes it impossible to use the only well-known techniques for conventional dynamically typed programming languages.

The idea developed in the paper is to reconstruct the typing information at runtime, when garbage collection becomes necessary. An image of compile-time type information must exist at runtime, and it is used together with the runtime tree of activation frames. Since reconstruction is needed only just before garbage collection, one can assume better storage and time performances than when complete type information is handled for all objects.

The paper describes the scheme for type reconstruction and its implementation for a peculiar situation, namely an experimental parallel programming language for an experimental multiprocessor architecture. It is not clear whether this peculiar case adds anything specific to the problem  considered. 

The process of garbage collection is divided into the phases of live-object detection and dead-object reclamation. Only the first phase is considered, and more specifically its object identification subphase. The performance of type-reconstructed garbage collection is compared, using several benchmarks, to those of conservative garbage collection, which does not use type information, and of compiler-directed storage reclamation, which does not use garbage collection. The conclusions one can draw from this comparison are not striking.

It would be interesting to study the application of the ideas developed in this paper to more conventional programming languages.

Reviewer:  O. Lecarme Review #: CR118657 (9509-0695)
Bookmark and Share
  Featured Reviewer  
 
Optimization (D.3.4 ... )
 
 
Compilers (D.3.4 ... )
 
 
Data Types And Structures (D.3.3 ... )
 
 
Type Structure (F.3.3 ... )
 
 
Language Constructs and Features (D.3.3 )
 
 
Processors (D.3.4 )
 
Would you recommend this review?
yes
no
Other reviews under "Optimization": Date
Finite constants
Steffen B., Knoop J. Theoretical Computer Science 80(2): 303-318, 1991. Type: Article
May 1 1992
Optimizing schemes for structured programming language processors
Tsuji T., Ellis Horwood, Upper Saddle River, NJ, 1990. Type: Book (9780138551230)
Apr 1 1992
Optimizing compilers for parallel computers (videotape)
Allen F., University Video Communications, Stanford, CA, 1991. Type: Book
Aug 1 1993
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy