Long-lived-object-based Hybrid Garbage Collector
With the advantages in software engineering,Java language is extensively applied for the development of server applications where there usually exist a large number of long-lived objects.No classical garbage collection algorithm can effectively decrease the repeated manipulations on those long-lived objects.This paper presents the design and implementation of a long-lived-object-based hybrid(LLH) garbage collection algorithm.It combines the features of compaction,copying and generation and takes advantage of the dynamic switching between them to solve the problems caused by long-lived objects.SPECjbb2005 is used to evaluate LLH algorithm and the results show that compared with generational garbage collection,LLH can improve the Throughput of the application by 3%~25%.