1.6 jdk CMSPermGenSweepingEnbaled

Alan Bateman Alan.Bateman at Sun.COM
Mon Jan 5 13:07:34 PST 2009


Y Srinivas Ramakrishna wrote:
> :
>
> If you know the name of a specific JVM option,
> i think there's some way you can have jconsole give you
> the value from a running JVM. Others on this list might
> be able to provide details on how to get jconsole to
> reveal these secrets. (One would hope jinfo might have
> a flag/query/option for such as well.)
>
> I'm cross-posting into the serviceability alias
> where the latter part of this discussion likely belongs
> and where you'll get more concrete information than
> my musings above.
>   
You are right. In the MBeans tab you'll see 
com.sun.management.HotSpotDiagnostic. It defines the getVMOption 
operation. Type CMSClassUnloadingEnabled into the text field and press 
the getVMOption button and it will popup a dialog window with its 
current and default value.

-Alan.



More information about the serviceability-dev mailing list