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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved: