# HG changeset patch # User mgerdin # Date 1459857331 -7200 # Node ID 664b7520c44b631a269265b41cbbdeb007745ddc # Parent f107e004af6597336442715978f155a7334ac951 8153176: ParOldGC: Use correct TaskQueueSet for ParallelTaskTerminator in marking. Reviewed-by: mgerdin, tschatzl Contributed-by: richard.reingruber@sap.com diff -r f107e004af65 -r 664b7520c44b hotspot/src/share/vm/gc/parallel/pcTasks.cpp --- a/hotspot/src/share/vm/gc/parallel/pcTasks.cpp Tue Apr 05 12:10:03 2016 +0200 +++ b/hotspot/src/share/vm/gc/parallel/pcTasks.cpp Tue Apr 05 13:55:31 2016 +0200 @@ -167,7 +167,7 @@ ParallelScavengeHeap* heap = ParallelScavengeHeap::heap(); uint parallel_gc_threads = heap->gc_task_manager()->workers(); uint active_gc_threads = heap->gc_task_manager()->active_workers(); - RegionTaskQueueSet* qset = ParCompactionManager::region_array(); + OopTaskQueueSet* qset = ParCompactionManager::stack_array(); ParallelTaskTerminator terminator(active_gc_threads, qset); GCTaskQueue* q = GCTaskQueue::create(); for(uint i=0; igc_task_manager()->workers(); uint active_gc_threads = heap->gc_task_manager()->active_workers(); - TaskQueueSetSuper* qset = ParCompactionManager::region_array(); + TaskQueueSetSuper* qset = ParCompactionManager::stack_array(); ParallelTaskTerminator terminator(active_gc_threads, qset); ParCompactionManager::MarkAndPushClosure mark_and_push_closure(cm);