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

G1 card refinement: batching, sorting

XMLWordPrintable

    • gc
    • b25
    • generic
    • generic

      Basically we currently process cards one by one even though they always
      come in groups of at the very least G1UpdateBufferSize. The cards may or
      may not follow a particularly cache friendly order, depending on how lucky
      we are, and need to do things like seek the start of the card quite often,
      as well as cutting arrays at the card intervals, even though many times
      the batches of cards could be linearly scanned and follow a contiguous
      order.

      It would be great if the batches could be scanned as a batch instead of one by one in a more efficient manner by sorting cards by address, collapsing adjacent cards and prefetching the next cards to be processed.

            manc Man Cao
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: