Remove duplicated code in G1DCQS::abandon_completed_buffers

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: hotspot
    • gc
    • b14

      G1DirtyCardQueueSet::abandon_completed_buffers starts by calling enqueue_all_paused_buffers() and verify_num_cards(). It then calls take_all_completed_buffers() to get the buffers to abandon.

      But take_all_completed_buffers starts by calling enqueue_all_paused_buffers() and verify_num_cards(), making the calls in abandon_completed_buffers redundant and removable.

            Assignee:
            Kim Barrett
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: