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

Improve do_collection_pause_at_safepoint

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b14

      Description

      The main method for doing young collection (everything in G1CollectedHeap::do_collection_pause_at_safepoint()) should be reorganized a little - it's one of the larger methods in G1CollectedHeap code and over time got really messy.

      There is a bit of everything here mixed together implicating dependencies where there are likely none. Group together related initialization (collection set, alloc regions, ...) a bit more.

      (This is considered a first attempt on cleaning this problem up a little, not necessarily a full-scale refactoring)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: