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.
|