arXiv · 1508.04753
Cold Object Identification in the Java Virtual Machine
Abstract
Many Java applications instantiate objects within the Java heap that are persistent but seldom if ever referenced by the application. Examples include strings, such as error messages, and collections of value objects that are preloaded for fast access but they may include objects that are seldom referenced. This paper describes a stack-based framework for detecting these "cold" objects at runtime, with a view to marshaling and sequestering them in designated regions of the heap where they may be preferentially paged out to a backing store, thereby freeing physical memory pages for occupation by more active objects. Furthermore, we evaluate the correctness and efficiency of stack-based approach with an Access Barrier. The experimental results from a series of SPECjvm2008 benchmarks are presented.
Explore related subjects
Keep this discovery
Kim T. Briggs, Baoguo Zhou, Gerhard W. Dueck. 2015-08-18. Cold Object Identification in the Java Virtual Machine. https://arxiv.org/abs/1508.04753
Cite the original work for its findings. Save a collection to share your selection of sources.