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

NPG: classunloading does not happen while CMS GC with -XX:+CMSClassUnloadingEnabled is used

XMLWordPrintable

    • gc
    • b24

        The expected behavior is that with CMS when the allocation of native memory reaches a certain value (the default value of MetaspaceSize) that a concurrent collection of the old generation will start and that classunloading will happen at the end of the concurrent collection of the old generation and native memory for class metadata will be reused.
        But classunloading does not happen.

          1. reproduce.sh
            3 kB
            Boris Molodenkov

              mgerdin Mikael Gerdin (Inactive)
              bmoloden Boris Molodenkov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: