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

Deprecate the flag -XX:ExplicitGCInvokesConcurrentAndUnloadsClasses

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • gc
    • b150

      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.

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

              Created:
              Updated:
              Resolved: