摘要 |
PROBLEM TO BE SOLVED: To dynamically detect most of long-lived objects stored in an external heap region, and to suppress the occurrence of FullGC by storing these objects in the external heap region. SOLUTION: First, an origin object is detected by analyzing a reference relation of a long-lived object released in an Old region by FullGC. Then, an object generation instruction is detected to generate a long-lived origin object by profiling a rate by which the origin object generated based on each object generation instruction is released in the Old region by the FullGC. When the object is long-lived, the object generation destination is changed to an external heap, and the origin object is generated in the external heap region. Furthermore, a member object referenced from the origin object is set to a movement object from a New region to the Old region by CopyGC, and when a rate at which the object is released together with the origin object is high, the object moves to the same external heap as that of the origin object. COPYRIGHT: (C)2011,JPO&INPIT
|