CMSPermGenSweepingEnabled vs CMSClassUnloadingEnabled

后端 未结 1 556
眼角桃花
眼角桃花 2020-11-28 02:06

I\'ve kind of asked this question before - What does JVM flag CMSClassUnloadingEnabled actually do?, but this time it\'s slightly different!

If I start a Java VM wit

相关标签:
1条回答
  • 2020-11-28 02:54

    From what I can tell, the only thing that the 1.6 JVM does with CMSPermGenSweepingEnabled is to print that message - it's not processed the way it is in 1.5. For CMSClassUnloadingEnabled to have any impact, UseConcMarkSweepGC must also be set.

    0 讨论(0)
提交回复
热议问题