< prev index next >

src/hotspot/share/gc/g1/g1DirtyCardQueue.cpp

Print this page
rev 53923 : [mq]: 8219747-remove-g1-prefix

*** 43,53 **** // Assumed to be only executed concurrently with the mutator. Yields via // SuspendibleThreadSet after every card. class G1RefineCardConcurrentlyClosure: public G1CardTableEntryClosure { public: bool do_card_ptr(jbyte* card_ptr, uint worker_i) { ! G1CollectedHeap::heap()->g1_rem_set()->refine_card_concurrently(card_ptr, worker_i); if (SuspendibleThreadSet::should_yield()) { // Caller will actually yield. return false; } --- 43,53 ---- // Assumed to be only executed concurrently with the mutator. Yields via // SuspendibleThreadSet after every card. class G1RefineCardConcurrentlyClosure: public G1CardTableEntryClosure { public: bool do_card_ptr(jbyte* card_ptr, uint worker_i) { ! G1CollectedHeap::heap()->rem_set()->refine_card_concurrently(card_ptr, worker_i); if (SuspendibleThreadSet::should_yield()) { // Caller will actually yield. return false; }
< prev index next >