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

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

    XMLWordPrintable

    Details

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

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: