equal
deleted
inserted
replaced
35 // according to the MMU. |
35 // according to the MMU. |
36 // |
36 // |
37 // The assumption is that a significant part of the GC is spent on scanning |
37 // The assumption is that a significant part of the GC is spent on scanning |
38 // the remembered sets (and many other components), so this thread constantly |
38 // the remembered sets (and many other components), so this thread constantly |
39 // reevaluates the prediction for the remembered set scanning costs, and potentially |
39 // reevaluates the prediction for the remembered set scanning costs, and potentially |
40 // G1CollectorPolicy resizes the young gen. This may do a premature GC or even |
40 // G1Policy resizes the young gen. This may do a premature GC or even |
41 // increase the young gen size to keep pause time length goal. |
41 // increase the young gen size to keep pause time length goal. |
42 class G1YoungRemSetSamplingThread: public ConcurrentGCThread { |
42 class G1YoungRemSetSamplingThread: public ConcurrentGCThread { |
43 private: |
43 private: |
44 Monitor _monitor; |
44 Monitor _monitor; |
45 |
45 |