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

par compact - allow young gen spaces to be split

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0u6
    • Fix Version/s: hs14
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Introduced In Build:
      b02
    • Introduced In Version:
    • Resolved In Build:
      b09
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        During a full gc, all live objects in the young gen are copied to the old gen as long as there is enough space. When the heap is very full, all the young gen objects may not fit. With par compaction, this often results in a long series of time-consuming full gcs which do not free up space in eden. When par compact is copying from a young gen space (e.g., eden or from) to the old gen, *all* live objects in the space must fit into the old gen; otherwise, none of them will be copied. This is because par compaction operates on fixed-size 'regions' of the heap and copying only part of a space would require extra bookkeeping (or some good luck).

        The extra bookkeeping should be implemented to allow a young gen space to be "split" so that as much as will fit is copied to the old gen and the rest is compacted down within the young gen space itself.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jcoomes John Coomes
                  Reporter:
                  jcoomes John Coomes
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: