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

Remove duplicated code in G1DCQS::abandon_completed_buffers

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: