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

Move default G1 pause time target setup to argument parsing

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • gc
    • b120

      G1 Initializes and validates MaxGCPauseMillis and GCPauseIntervalMillis in the constructor of G1CollectorPolicy.
      This should be moved to Arguments::set_g1_gc_flags, where other default values of globally known flags are set.
      We can then move the constraint checking to the proper command line flag constraint functions (pause interval > pause target and setting pause interval without setting pause target) and modify the constraints so that they are applied before the GC subsystem is initialized (by changing AfterMemorInit to AfterErgo)

            mgerdin Mikael Gerdin (Inactive)
            mgerdin Mikael Gerdin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: