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

Log the main G1 phases at info level

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b110

      Description

      The current G1 logging logs the phases at debug level. This means that running with -Xlog:gc*, which is supposed to be similar to the old PrintGCDetails, does not log the phases.

      It is necessary to add gc+phases=debug to get similar logging to the old logging. However, doing that gives more logging that the old logging.

      We should split the phase logging up so that the hight level phases are logged at info level and thus are logged with -Xlog:gc* and that the rest of the phases are divided up between debug and trace in a sensible way.

        Attachments

          Activity

            People

            • Assignee:
              brutisso Bengt Rutisson (Inactive)
              Reporter:
              brutisso Bengt Rutisson (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: