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

Unnecessary double traversal of dirty card windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • hs21
    • hs21
    • hotspot
    • None
    • gc
    • b11
    • generic
    • generic
    • Not verified

        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).

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: