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

G1: Simplify threshold test for mutator refinement

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      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

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

              Dates

              Created:
              Updated:
              Resolved: