Method and apparatus for tracking activity of a garbage collector with a plurality of threads that operate concurrently with an application program
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 19.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for tracking activity of a garbage collector with a plurality of garbage collector threads that operate concurrently with an operation of an application program during a time window on a computer system having a number of processors, the method comprising: for each of the plurality of garbage collector threads, computing a percentage of the time window during which that garbage collector thread is scheduled for operation; dividing each percentage computed by the number of processors to obtain a plurality of adjusted percentages; summing the plurality of adjusted percentages to obtain
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (1)
- Bacon, D., Cheng, P., Rajan, V., "A Real-Time Garbage Collector with Low Overhead and Consistent Utilization", IBM T.J. Watson Research Center, Jan. 15-17, 2003, 14 pages.