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

[BACKOUT] GCCause should distinguish jcmd GC.run from System.gc()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b52

        The change is incomplete since several places in the GC code assumes that explicit gcs have the _java_lang_system_gc GCCause value in order to determine the behavior.
        For example:
        ParallelGC does not apply policy decisions on user-invoked GCs (decided by the GCCause)
        G1/CMS honors +ExplicitGCInvokesConcurrent based on the GCCause setting.
        This could cause problems for people expecting concurrent gcs when running the diagnostic command instead of a possibly several-second full gc pause.

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

                Created:
                Updated:
                Resolved: