equal
deleted
inserted
replaced
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: |