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

Parallel: Skip full regions in dense prefix during Full GC

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot
    • gc

      During full-gc, multiple (almost) full regions starting at the beginning of old-gen form the dense-prefix, which will not be compacted, i.e. objects on them are not moved.

      The following are two special operations we perform on the dense prefix

      1. fill_dead_objs_in_dense_prefix: create filler so that the dense-prefix is parseable -- one can perform object iteration.

      2. verify_filler_in_dense_prefix: it's debug-only to check dead space is occupied by filler objects.

      Since most regions in dense prefix are (almost) full, we can speed up both operations by skipping full regions.

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: