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

Unnecessary double traversal of dirty card windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: hs21
    • Fix Version/s: hs21
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Backports

        Description

        non_clean_card_iterate() collects contiguous ranges of dirty cards
        which are then processed by ClearNoncleanCardWrapper in a second traversal.
        There is really no need for two traversals, rather non_clean_card_iterate()
        need not be used and all of the work can instead accomplished in a single
        traversal of the cards in the range being scanned by CleanNoncleanCardWrapper.
        This might even improve performance by a bit (but more importantly it would
        reduce the complexity and interdependencies within the card table hierarchy).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ysr Y. Ramakrishna
                Reporter:
                ysr Y. Ramakrishna
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: