Mercurial > hg > truffle
diff src/share/vm/utilities/taskqueue.hpp @ 1284:5f1f51edaff6
6928081: G1: rename parameters common with CMS
Summary: Rename marking stack sizing flags to be common between G1 and CMS
Reviewed-by: ysr, tonyp
author | jmasa |
---|---|
date | Wed, 24 Feb 2010 07:00:33 -0800 |
parents | 1ee412f7fec9 |
children | 2a1472c30599 |
line wrap: on
line diff
--- a/src/share/vm/utilities/taskqueue.hpp Tue Feb 23 23:14:34 2010 -0500 +++ b/src/share/vm/utilities/taskqueue.hpp Wed Feb 24 07:00:33 2010 -0800 @@ -133,6 +133,9 @@ // Maximum number of elements allowed in the queue. This is two less // than the actual queue size, for somewhat complicated reasons. uint max_elems() { return N - 2; } + + // Total size of queue. + static const uint total_size() { return N; } }; template<class E> class GenericTaskQueue: public TaskQueueSuper {