hotspot/src/share/vm/gc_implementation/g1/satbQueue.cpp
changeset 28507 354ef83ee258
parent 27251 7d667f91ec8d
child 29796 7a04e5c250d1
equal deleted inserted replaced
28506:8c606017b9cf 28507:354ef83ee258
    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: