8273386: Remove duplicated code in G1DCQS::abandon_completed_buffers
Reviewed-by: tschatzl
This commit is contained in:
parent
fc546d6de9
commit
eb221812b2
@ -307,8 +307,6 @@ void G1DirtyCardQueueSet::enqueue_all_paused_buffers() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void G1DirtyCardQueueSet::abandon_completed_buffers() {
|
void G1DirtyCardQueueSet::abandon_completed_buffers() {
|
||||||
enqueue_all_paused_buffers();
|
|
||||||
verify_num_cards();
|
|
||||||
G1BufferNodeList list = take_all_completed_buffers();
|
G1BufferNodeList list = take_all_completed_buffers();
|
||||||
BufferNode* buffers_to_delete = list._head;
|
BufferNode* buffers_to_delete = list._head;
|
||||||
while (buffers_to_delete != NULL) {
|
while (buffers_to_delete != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user