Mercurial > hg > graal-jvmci-8
diff src/share/vm/gc_implementation/g1/satbQueue.cpp @ 23029:0f8f1250fed5
8078023: verify_no_cset_oops found reclaimed humongous object in SATB buffer
Summary: Removed no longer valid checking of SATB buffers
Reviewed-by: jmasa, pliden
author | kbarrett |
---|---|
date | Wed, 22 Apr 2015 14:06:49 -0400 |
parents | b5d14ef905b5 |
children | 399885e13e90 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/satbQueue.cpp Fri Apr 17 13:49:04 2015 -0400 +++ b/src/share/vm/gc_implementation/g1/satbQueue.cpp Wed Apr 22 14:06:49 2015 -0400 @@ -182,12 +182,6 @@ return should_enqueue; } -void ObjPtrQueue::apply_closure(ObjectClosure* cl) { - if (_buf != NULL) { - apply_closure_to_buffer(cl, _buf, _index, _sz); - } -} - void ObjPtrQueue::apply_closure_and_empty(ObjectClosure* cl) { if (_buf != NULL) { apply_closure_to_buffer(cl, _buf, _index, _sz); @@ -319,28 +313,6 @@ } } -void SATBMarkQueueSet::iterate_completed_buffers_read_only(ObjectClosure* cl) { - assert(SafepointSynchronize::is_at_safepoint(), "Must be at safepoint."); - assert(cl != NULL, "pre-condition"); - - BufferNode* nd = _completed_buffers_head; - while (nd != NULL) { - void** buf = BufferNode::make_buffer_from_node(nd); - ObjPtrQueue::apply_closure_to_buffer(cl, buf, 0, _sz); - nd = nd->next(); - } -} - -void SATBMarkQueueSet::iterate_thread_buffers_read_only(ObjectClosure* cl) { - assert(SafepointSynchronize::is_at_safepoint(), "Must be at safepoint."); - assert(cl != NULL, "pre-condition"); - - for (JavaThread* t = Threads::first(); t; t = t->next()) { - t->satb_mark_queue().apply_closure(cl); - } - shared_satb_queue()->apply_closure(cl); -} - #ifndef PRODUCT // Helpful for debugging