hotspot/src/share/vm/gc_implementation/g1/satbQueue.cpp
changeset 13195 be27e1b6a4b9
parent 11455 a6ab3d8b9a4c
child 13728 882756847a04
--- a/hotspot/src/share/vm/gc_implementation/g1/satbQueue.cpp	Wed Jun 27 15:23:36 2012 +0200
+++ b/hotspot/src/share/vm/gc_implementation/g1/satbQueue.cpp	Thu Jun 28 17:03:16 2012 -0400
@@ -208,7 +208,7 @@
   PtrQueueSet::initialize(cbl_mon, fl_lock, process_completed_threshold, -1);
   _shared_satb_queue.set_lock(lock);
   if (ParallelGCThreads > 0) {
-    _par_closures = NEW_C_HEAP_ARRAY(ObjectClosure*, ParallelGCThreads);
+    _par_closures = NEW_C_HEAP_ARRAY(ObjectClosure*, ParallelGCThreads, mtGC);
   }
 }