Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/satbQueue.cpp @ 6198:24b9c7f4cae6
Merge
author | coleenp |
---|---|
date | Mon, 02 Jul 2012 13:11:28 -0400 |
parents | d2a62e0f25eb |
children | da91efe96a93 |
comparison
equal
deleted
inserted
replaced
6195:bcffa4c5eef6 | 6198:24b9c7f4cae6 |
---|---|
206 int process_completed_threshold, | 206 int process_completed_threshold, |
207 Mutex* lock) { | 207 Mutex* lock) { |
208 PtrQueueSet::initialize(cbl_mon, fl_lock, process_completed_threshold, -1); | 208 PtrQueueSet::initialize(cbl_mon, fl_lock, process_completed_threshold, -1); |
209 _shared_satb_queue.set_lock(lock); | 209 _shared_satb_queue.set_lock(lock); |
210 if (ParallelGCThreads > 0) { | 210 if (ParallelGCThreads > 0) { |
211 _par_closures = NEW_C_HEAP_ARRAY(ObjectClosure*, ParallelGCThreads); | 211 _par_closures = NEW_C_HEAP_ARRAY(ObjectClosure*, ParallelGCThreads, mtGC); |
212 } | 212 } |
213 } | 213 } |
214 | 214 |
215 void SATBMarkQueueSet::handle_zero_index_for_thread(JavaThread* t) { | 215 void SATBMarkQueueSet::handle_zero_index_for_thread(JavaThread* t) { |
216 DEBUG_ONLY(t->satb_mark_queue().verify_oops_in_buffer();) | 216 DEBUG_ONLY(t->satb_mark_queue().verify_oops_in_buffer();) |