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

Parallel: Include OS free memory in GC selection heuristics

XMLWordPrintable

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

      PSScavenge::should_attempt_scavenge contains the logic whether a young/full GC should be started.

      Currently, the criteria used include whether to-space is empty, and young-gc is likely to fail due to too small free space in old-gen.

      Add another condition based on OS free-memory so that the recorded gc-pause-time doesn't include extra OS-time and young-gen resizing uses accurate data.

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

              Created:
              Updated: