diff -r 44a71334fd94 -r f1702744b3a4 hotspot/src/share/vm/gc/shared/taskqueue.hpp --- a/hotspot/src/share/vm/gc/shared/taskqueue.hpp Fri May 22 10:58:16 2015 +0200 +++ b/hotspot/src/share/vm/gc/shared/taskqueue.hpp Fri May 22 13:35:29 2015 +0200 @@ -382,6 +382,8 @@ bool steal(uint queue_num, int* seed, E& t); bool peek(); + + uint size() const { return _n; } }; template void