src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp
changeset 54006 a421bdf22394
parent 53850 f42c58bab973
child 54970 76d3d96a8bc2
--- a/src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp	Tue Mar 05 14:07:30 2019 -0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahSATBMarkQueueSet.cpp	Tue Mar 05 19:54:33 2019 -0500
@@ -35,17 +35,15 @@
 void ShenandoahSATBMarkQueueSet::initialize(ShenandoahHeap* const heap,
                                             Monitor* cbl_mon,
                                             int process_completed_threshold,
-                                            uint buffer_enqueue_threshold_percentage,
-                                            Mutex* lock) {
+                                            uint buffer_enqueue_threshold_percentage) {
   SATBMarkQueueSet::initialize(cbl_mon,
                                &_satb_mark_queue_buffer_allocator,
                                process_completed_threshold,
-                               buffer_enqueue_threshold_percentage,
-                               lock);
+                               buffer_enqueue_threshold_percentage);
   _heap = heap;
 }
 
-SATBMarkQueue& ShenandoahSATBMarkQueueSet::satb_queue_for_thread(JavaThread* const t) const {
+SATBMarkQueue& ShenandoahSATBMarkQueueSet::satb_queue_for_thread(Thread* const t) const {
   return ShenandoahThreadLocalData::satb_mark_queue(t);
 }