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

Refactor PtrQueue completed buffer processing

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b22

      Description

      The code path for handling a completed buffer starts in handle_zero_index. The current path involves functions and configuration checks that are only applicable for SATB queues, and other functions and configuration checks that are only applicable for G1 dirty card queues. In each case, the inapplicable stuff clutters things, making it harder to understand and wasting time.

      Refactor to streamline the shared PtrQueue code and move the subclass-specific stuff into the subclasses.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: