hotspot/src/share/vm/memory/genOopClosures.hpp
changeset 5076 8b74a4b60b31
parent 3262 30d1c247fc25
child 5547 f4b087cbb361
--- a/hotspot/src/share/vm/memory/genOopClosures.hpp	Wed Mar 03 08:10:41 2010 -0800
+++ b/hotspot/src/share/vm/memory/genOopClosures.hpp	Wed Mar 03 14:48:26 2010 -0800
@@ -28,10 +28,10 @@
 class CardTableModRefBS;
 class DefNewGeneration;
 
-template<class E> class GenericTaskQueue;
-typedef GenericTaskQueue<oop> OopTaskQueue;
-template<class E> class GenericTaskQueueSet;
-typedef GenericTaskQueueSet<oop> OopTaskQueueSet;
+template<class E, unsigned int N> class GenericTaskQueue;
+typedef GenericTaskQueue<oop, TASKQUEUE_SIZE> OopTaskQueue;
+template<class T> class GenericTaskQueueSet;
+typedef GenericTaskQueueSet<OopTaskQueue> OopTaskQueueSet;
 
 // Closure for iterating roots from a particular generation
 // Note: all classes deriving from this MUST call this do_barrier