About -Xnoclassgc
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- badboy29
- Posts: 417
- Joined: Fri Apr 24, 2009 5:34 am
- Location: Brazil
About -Xnoclassgc
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
- MELERIX
- L2j Veteran
- Posts: 6667
- Joined: Sat Sep 23, 2006 11:31 pm
- Location: Chile
- Contact:
Re: About -Xnoclassgc
-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
there you can see info about the current Java HotSpot VM Options: http://www.oracle.com/technetwork/java/ ... 40102.html
- badboy29
- Posts: 417
- Joined: Fri Apr 24, 2009 5:34 am
- Location: Brazil
Re: About -Xnoclassgc
Then in others words with -XX:+UseClassGC, I save some memory and without consume more memory.
Aka UnHoly
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: About -Xnoclassgc
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- badboy29
- Posts: 417
- Joined: Fri Apr 24, 2009 5:34 am
- Location: Brazil
Re: About -Xnoclassgc
Yeah -XX:+UseClassGC for enable and -XX:-UseClassGC for disable.jurchiks wrote:I think it's "-XX:-UseClassGC" (-, not +) if you want to disable it.
Aka UnHoly