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

G1: Simplify threshold test for mutator refinement

    XMLWordPrintable

Details

    • gc
    • b15

    Description

      The test for whether a mutator thread should refine a dirty card buffer contains a "padding" factor. The mutator calculates the threshold to use as part of the test. That calculation is more than a simple addition of padding, in order to accomodate potential overflow. The calculation and overflow handling could instead be done only when the padding is updated or cleared. This would reduce the per-buffer test to just comparing the number of cards to the pre-calculated threshold.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: