--- old/src/share/vm/gc/g1/dirtyCardQueue.cpp 2015-11-14 19:28:06.478901136 -0500 +++ new/src/share/vm/gc/g1/dirtyCardQueue.cpp 2015-11-14 19:28:06.378900641 -0500 @@ -119,20 +119,6 @@ t->dirty_card_queue().handle_zero_index(); } -void DirtyCardQueueSet::iterate_closure_all_threads(CardTableEntryClosure* cl, - bool consume, - uint worker_i) { - assert(SafepointSynchronize::is_at_safepoint(), "Must be at safepoint."); - for (JavaThread* t = Threads::first(); t; t = t->next()) { - bool b = t->dirty_card_queue().apply_closure(cl, consume); - guarantee(b, "Should not be interrupted."); - } - bool b = shared_dirty_card_queue()->apply_closure(cl, - consume, - worker_i); - guarantee(b, "Should not be interrupted."); -} - bool DirtyCardQueueSet::mut_process_buffer(void** buf) { // Used to determine if we had already claimed a par_id --- old/src/share/vm/gc/g1/dirtyCardQueue.hpp 2015-11-14 19:28:07.010903775 -0500 +++ new/src/share/vm/gc/g1/dirtyCardQueue.hpp 2015-11-14 19:28:06.914903298 -0500 @@ -112,14 +112,6 @@ static void handle_zero_index_for_thread(JavaThread* t); - // Apply the given closure to all entries in all currently-active buffers. - // This should only be applied at a safepoint. (Currently must not be called - // in parallel; this should change in the future.) If "consume" is true, - // processed entries are discarded. - void iterate_closure_all_threads(CardTableEntryClosure* cl, - bool consume = true, - uint worker_i = 0); - // If there exists some completed buffer, pop it, then apply the // specified closure to all its elements, nulling out those elements // processed. If all elements are processed, returns "true". If no