hotspot/src/share/vm/gc/shared/taskqueue.hpp
changeset 30878 f1702744b3a4
parent 30764 fec48bf5a827
child 31994 3721b7aa3a0d
--- 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<class T, MEMFLAGS F> void