src/share/vm/gc_implementation/g1/satbQueue.cpp

changeset 7445
42c091d63c72
parent 6680
78bbf4d43a14
child 7476
c2844108a708
equal deleted inserted replaced
7444:8210e5f2e21b 7445:42c091d63c72
37 void ObjPtrQueue::flush() { 37 void ObjPtrQueue::flush() {
38 // The buffer might contain refs into the CSet. We have to filter it 38 // The buffer might contain refs into the CSet. We have to filter it
39 // first before we flush it, otherwise we might end up with an 39 // first before we flush it, otherwise we might end up with an
40 // enqueued buffer with refs into the CSet which breaks our invariants. 40 // enqueued buffer with refs into the CSet which breaks our invariants.
41 filter(); 41 filter();
42 PtrQueue::flush(); 42 flush_impl();
43 } 43 }
44 44
45 // This method removes entries from an SATB buffer that will not be 45 // This method removes entries from an SATB buffer that will not be
46 // useful to the concurrent marking threads. An entry is removed if it 46 // useful to the concurrent marking threads. An entry is removed if it
47 // satisfies one of the following conditions: 47 // satisfies one of the following conditions:

mercurial