About -Xnoclassgc

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

About -Xnoclassgc

Post 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?
Aka UnHoly
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: About -Xnoclassgc

Post 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
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: About -Xnoclassgc

Post by badboy29 »

Then in others words with -XX:+UseClassGC, I save some memory and without consume more memory.
Aka UnHoly
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: About -Xnoclassgc

Post by jurchiks »

I think it's "-XX:-UseClassGC" (-, not +) if you want to disable it.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
badboy29
Posts: 417
Joined: Fri Apr 24, 2009 5:34 am
Location: Brazil

Re: About -Xnoclassgc

Post 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.
Aka UnHoly
Post Reply