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

Description of flag ExplicitGCInvokesConcurrent should mention G1 as well

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: