G1: Improve refinement thread activation

XMLWordPrintable

    • gc

      Currently refinement is based on current mutator activity, which may cause needless re-refinement.

      Actually it is only required to try to get the number of scanned cards down to a minimum just before garbage collection. The remaining time they can sit on the card table.

      I.e. ideally only refine once completing just before gc. That could also fix/improve JDK-8368935.

            Assignee:
            Unassigned
            Reporter:
            Thomas Schatzl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: