Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp @ 8679:a252e688abcf
7189971: Implement CMSWaitDuration for non-incremental mode of CMS
Reviewed-by: jmasa, johnc, ysr
Contributed-by: michal@frajt.eu
author | jmasa |
---|---|
date | Fri, 01 Feb 2013 17:02:36 -0800 |
parents | f34d701e952e |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8666:7f482030ff64 | 8679:a252e688abcf |
---|---|
127 // Wait on CMS lock until the next synchronous GC | 127 // Wait on CMS lock until the next synchronous GC |
128 // or given timeout, whichever is earlier. A timeout value | 128 // or given timeout, whichever is earlier. A timeout value |
129 // of 0 indicates that there is no upper bound on the wait time. | 129 // of 0 indicates that there is no upper bound on the wait time. |
130 // A concurrent full gc request terminates the wait. | 130 // A concurrent full gc request terminates the wait. |
131 void wait_on_cms_lock(long t_millis); | 131 void wait_on_cms_lock(long t_millis); |
132 | |
133 // Wait on CMS lock until the next synchronous GC | |
134 // or given timeout, whichever is earlier. A timeout value | |
135 // of 0 indicates that there is no upper bound on the wait time. | |
136 // A concurrent full gc request terminates the wait. | |
137 void wait_on_cms_lock_for_scavenge(long t_millis); | |
132 | 138 |
133 // The CMS thread will yield during the work portion of its cycle | 139 // The CMS thread will yield during the work portion of its cycle |
134 // only when requested to. Both synchronous and asychronous requests | 140 // only when requested to. Both synchronous and asychronous requests |
135 // are provided: | 141 // are provided: |
136 // (1) A synchronous request is used for young gen collections and | 142 // (1) A synchronous request is used for young gen collections and |