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

G1 Code Root Migration performs poorly

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b31

      Backports

        Description

        G1 uses a remembered set per HeapRegions to keep track of all nmethods with oops pointing into that HeapRegion. When objects are moved between HeapRegions, the remembered sets need to be updated.

        During the G1 Class Unloading project we found that we spend significantly more time in the "Code Root Migration" time than the time spent scanning the code remembered sets. When G1 starts to unload more objects out of old regions the heuristics find more opportunities to include old regions in the mixed GCs. This has the effect that G1 with Class Unloading sometimes experience longer mixed GC times compared to a build without G1 Class Unloading.

        We need to fix this performance problem.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mgerdin Mikael Gerdin (Inactive)
                  Reporter:
                  stefank Stefan Karlsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: