Page 1 of 1
About -Xnoclassgc
Posted: Wed Sep 12, 2012 5:07 pm
by badboy29
Hello, I want to ask if is safe to use this flag(-Xnoclassgc) on JVM ? What differences on performance have with it and without on L2J in these days?
Re: About -Xnoclassgc
Posted: Thu Sep 13, 2012 12:18 am
by MELERIX
-XnoClassGC is now considered (deprecated) according to:
http://docs.oracle.com/cd/E15289_01/doc ... m#BABCCBJD
there you can see info about the current
Java HotSpot VM Options:
http://www.oracle.com/technetwork/java/ ... 40102.html
Re: About -Xnoclassgc
Posted: Thu Sep 13, 2012 4:19 pm
by badboy29
Then in others words with -XX:+UseClassGC, I save some memory and without consume more memory.
Re: About -Xnoclassgc
Posted: Thu Sep 13, 2012 6:41 pm
by jurchiks
I think it's "-XX:-UseClassGC" (-, not +) if you want to disable it.
Re: About -Xnoclassgc
Posted: Thu Sep 13, 2012 9:55 pm
by badboy29
jurchiks wrote:I think it's "-XX:-UseClassGC" (-, not +) if you want to disable it.
Yeah -XX:+UseClassGC for enable and -XX:-UseClassGC for disable.