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

Description of flag ExplicitGCInvokesConcurrent should mention G1 as well

    XMLWordPrintable

    Details

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

      Backports

        Description

        The comment in globals.hpp for ExplicitGCInvokesConcurrent says:

          product(bool, ExplicitGCInvokesConcurrent, false, \
                  "A System.gc() request invokes a concurrent collection; " \
                  "(effective only when UseConcMarkSweepGC)") \

        This is not entirely true since G1 also triggers a concurrent collection (concurrent mark cycle) when using this flag. The comment should be updated.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                jwilhelm Jesper Wilhelmsson
                Reporter:
                jwilhelm Jesper Wilhelmsson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: