Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8273386

Remove duplicated code in G1DCQS::abandon_completed_buffers

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • gc
    • b14

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: