Duplicate :
|
In the Clear CT phase threads race to clean the card tables for regions. They claim regions using atomic operations. Testing found that the distribution granularity of the card table of a single region is too small: profiling with hardware counters indicate that the atomic operation is a significant part of the pause. Fix this by changing the way G1 remembers regions that need cleaning and improve the ratio between useful work and synchronization
|