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

Refactor PtrQueue completed buffer processing

XMLWordPrintable

    • gc
    • b22

      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.

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

              Created:
              Updated:
              Resolved: