Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Object co-location and memory reuse for Java programs
Yu Z., Lau F., Wang C. ACM Transactions on Architecture and Code Optimization4 (4):1-36,2008.Type:Article
Date Reviewed: Aug 7 2008

Yu, Lau, and Wang have developed a memory management system called space-time efficient memory allocator (STEMA) for use in Java Virtual Machines. It is particularly effective for small memory devices. The paper defines the system and then compares it with a number of memory allocation/garbage collection algorithms implemented in the Jikes Research Virtual Machine (RVM). The improvements range from 2.1 percent to 28 percent in garbage collection time, when compared with other algorithms. The largest improvements occur for small memory devices, with small improvements for machines with large memories.

The algorithm is based on the concept of prolific types or objects. A prolific object is a small object that is frequently allocated. The memory system keeps statistics for each type, determining how many times an object is allocated. The statistics have built-in time decay so an object may be prolific at one point in the program and not at another. The authors observe a number of properties of prolific types and implement a memory management system to handle them efficiently.

When a prolific type is identified at runtime, all subsequent occurrences of this type are allocated in a reserved memory region. Since the objects have the same size, this area can be managed more efficiently. Allocation of an object typically reduces to incrementing a pointer; all of the objects can be deallocated together if they are no longer referenced.

The ideas in this paper have merit, particularly for small memory devices. There is one problem: the paper contains about ten pages of content, but takes 36 pages to express it.

Reviewer:  Charles Morgan Review #: CR135927 (0906-0568)
Bookmark and Share
 
Memory Management (Garbage Collection) (D.3.4 ... )
 
 
Garbage Collection (D.4.2 ... )
 
Would you recommend this review?
yes
no
Other reviews under "Memory Management (Garbage Collection)": Date
Hardware support for real-time embedded multiprocessor system-on-a-chip memory management
Shalan M., Vincent J I.  Hardware/software codesign (Proceedings of the tenth international symposium, Estes Park, Colorado, May 6-8, 2002)79-84, 2002. Type: Proceedings
Jan 30 2004
Memory as a programming concept in C and C++
Franek F., Cambridge University Press, New York, NY, 2003.  250, Type: Book (9780521520430)
Apr 30 2004
Interprocedural pointer alias analysis
Hind M., Burke M., Carini P., Choi J. ACM Transactions on Programming Languages and Systems 21(4): 848-894, 1999. Type: Article
Mar 1 2000
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