hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp
changeset 6759 67b1a69ef5aa
parent 5918 73b96456819a
child 6762 f8d1b560700e
--- a/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp	Thu Sep 16 13:45:55 2010 -0700
+++ b/hotspot/src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp	Mon Sep 20 14:38:38 2010 -0700
@@ -2449,7 +2449,7 @@
 
   const unsigned int task_count = MAX2(parallel_gc_threads, 1U);
   for (unsigned int j = 0; j < task_count; j++) {
-    q->enqueue(new DrainStacksCompactionTask());
+    q->enqueue(new DrainStacksCompactionTask(j));
   }
 
   // Find all regions that are available (can be filled immediately) and