发明名称 Method and apparatus for tracking activity of a garbage collector with a plurality of threads that operate concurrently with an application program
摘要 The time cost of collecting a region in a Garbage-First garbage collector is adjusted to account for concurrent thread activity. The overhead of a concurrent thread is tracked by dividing elapsed time into relatively short time "windows" and monitoring the system during those windows to determine how long that thread is scheduled to run during those windows. Using measurements of this type for each concurrent thread, the percentage of each elapsed time window dedicated to each concurrent thread is determined. Finally, by summing the percentages of elapsed time dedicated to concurrent thread activity, the cost of collecting a region can be increased by adding the overhead attributable to concurrent activity.
申请公布号 US2007162526(A1) 申请公布日期 2007.07.12
申请号 US20050305957 申请日期 2005.12.19
申请人 SUN MICROSYSTEMS, INC. 发明人 PRINTEZIS ANTONIOS;DETLEFS DAVID L.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址