CMS collection keep working during holiday

Ken--@newsgroupstats.hk dragonken at gmail.com
Fri Oct 10 05:58:55 UTC 2008


Thanks to all of you. It seems work after adding
-XX:+CMSClassUnloadingEnabled as you suggested.

So, why classloader create so many HashMap entries and Vector elements? It
seems that only a few people have this problem.

vm options:

-server -showversion -Djava.security.policy=.\java.policy -Xms1536M
-Xmx1536M -XX:NewSize=256M -XX:+PrintGCDetails -XX:+PrintGCTaskTimeStamps
-XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -Xloggc:gc.log
-XX:+PrintReferenceGC -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC
-XX:+UseParNewGC -XX:SurvivorRatio=4 -XX:CMSInitiatingOccupancyFraction=55
-XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled
-XX:MaxTenuringThreshold=1 -XX:SoftRefLRUPolicyMSPerMB=0
-Dcom.sun.management.jmxremote.port=18002
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false


gc log:
http://www.nabble.com/file/p19912471/gc.log gc.log 

jconsole:
http://www.nabble.com/file/p19912471/jconsole_20081010.jpg 




> Y Srinivas Ramakrishna wrote:
> > The mention of class loaders below reminds me to remind you that
> > CMS by default will not collect class objects. To force CMS
> > to collect classes in the perm gen, you would want to
> > -XX:+CMSClassUnloadingEnabled. Try to see if that made any
> > difference to the apparent inability of CMS to collect
> > those apparently otherwise unreachable objects.
> >
> > -- ramki
> >
> > ----- Original Message -----
> > From: "Ken-- at newsgroupstats.hk" <dragonken at gmail.com>
> > Date: Thursday, October 9, 2008 3:10 am
> > Subject: Re: CMS collection keep working during holiday
> > To: hotspot-gc-dev at openjdk.java.net
> >
> >

-- 
View this message in context: http://www.nabble.com/CMS-collection-keep-working-during-holiday-tp19773575p19912471.html
Sent from the OpenJDK Hotspot Garbage Collection mailing list archive at Nabble.com.




More information about the hotspot-gc-dev mailing list