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

Deprecate the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses

    XMLWordPrintable

    Details

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

      Description

      The class -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses is no longer necessary since there already are two flags covering this functionality:
      -XX:ExplicitGCInvokesConcurrent
      -XX:ClassUnloadingWithConcurrentMark

      The above two flags are sufficient to express -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses, just enable the above two flags :-XX:+ExplicitGCInvokesConcurrent -XX:+ClassUnloadingWithConcurrentMark. Therefore, the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses should be deprecated and removed in a future release, it provides no extra functionality and is cumbersome to validate.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ehelin Erik Helin
              Reporter:
              ehelin Erik Helin
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: