arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1508.04753cs.PLcs.OS
收藏

Java虚拟机中的冷对象识别

Cold Object Identification in the Java Virtual Machine

Kim T. Briggs, Baoguo Zhou, Gerhard W. Dueck

摘要:

许多Java应用程序实例化Java堆中的对象,这些对象是持久的,但很少被应用程序引用。示例包括字符串(如错误消息)和值对象的集合,这些值对象是为了快速访问而预加载的,但它们可能包括很少引用的对象。本文介绍了一种基于堆栈的框架,用于在运行时检测这些“冷”对象,以期编组和隔离它们在指定区域的堆,在那里他们可能会优先分页到后备存储,从而释放物理内存页面占用更活跃的对象。此外,我们评估的正确性和效率的堆栈为基础的方法与访问障碍。给出了一系列SPECjvm2008基准测试的实验结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑